calculate the acceleration of the right wedge.