A hanging block of mass X is pressed with a force F at angle theta to the vertical against a frictionless wall and is connected to another hanging block of mass Y by a pulley system. What is the expression for the acceleration of Y?