A 1-kg collar (located at point (2,2) from the origin) is pulled along a vertical, frictionless bar with a force of 10 N applied along string A at the point (5,8). Calculate the acceleration of the collar in the direction of the beam.