Consider this diagram:
Mass m1 can only move in the x direction and mass m2 in the y direction. Find the acceleration of both m1 and m2, and the reaction of the wedge. Negligible Friction.
I tried attempting to solve this problem by finding the normal force on m1 from m2, and what its horizontal movement component was, however I couldn't quite understand it. How would I solve this?