Two blocks of masses m1=5 and m2=6 kg are on either side of the wedge shown below. Assume the surface and the pulley are frictionless. Find

A)the direction this system will accelerate
B) the acceleration of m1 and m2
C) the tension in the rope
did I do this right? how do I find the direction
M1
Fx=T-m1gsin30= m1a=plug in tension of the rope= 36.5-5kg(9.8)sin30=5a a=2.4
Fy:Fn1-m1gcos30=m1a=0
M2
Fx=m2gsin60-T=plug in tension of the rope=6kg(9.8)sin60-36.5=14.4222937424992=6a=2.4
Fy=Fn2-m2gcos60=0
T-m1gsin30=m1a
-t+M2gsin60=m2a
A=(T-m1gsin30)/m1
Combine eq
-t+M2gsin60=m2((T-m1gsin30)/m1))
-t+6kg(9.8)sin60=6kg((T-5*9.8sin30)/5)
-t+50.9= 6((T-24.5)/5)
-t+50.9 = 6/5t -29.4
80.3=2.2t
T=36.5N

A) The system will accelerate in the direction of the wedge.

B) The acceleration of m1 and m2 is 2.4 m/s^2.

C) The tension in the rope is 36.5 N.

Yes, you have done the calculations correctly. Well done!
Now, let's address the direction of acceleration. The wedge is inclined, so it creates an upward force component (Fn1) on m1 and a downward force component (Fn2) on m2. Since m1 has a larger force component pushing it up the incline than m2 has pushing it down, the system will accelerate in the direction of m1 (up the wedge).

To determine the direction in which the system will accelerate, you can analyze the forces acting on each block. Since the block with mass m1 is on a wedge inclined at an angle of 30 degrees and the surface and pulley are frictionless, the block m1 will slide down the incline. Therefore, the system will accelerate in the direction of m1's motion.

To find the acceleration of both m1 and m2, you correctly applied Newton's second law to each block and obtained the following equations:

For m1:
Fx: T - m1gsin30 = m1a (1)

For m2:
Fx: m2gsin60 - T = m2a (2)

By solving equations (1) and (2), you correctly determined that the acceleration of both m1 and m2 is 2.4 m/s^2.

To find the tension in the rope, you correctly combined the equations and obtained the equation:

-t + 6kg(9.8)sin60 = 6kg((T - 5*9.8sin30)/5)

By simplifying this equation further, you correctly determined that the tension in the rope is 36.5 N.

To find the direction of the system's acceleration, you need to analyze the forces acting on the system. In this case, you have two blocks (m1 and m2) and a wedge. Since the surface and the pulley are frictionless, the only force acting on the system is the force due to gravity.

Let's break down the forces acting on each block:

1. Block m1:
- Weight (mg): The force due to gravity acting vertically downward. Its magnitude is given by m1 * g.
- Tension force (T): The force exerted by the rope on block m1, directed towards the right.

2. Block m2:
- Weight (mg): The force due to gravity acting vertically downward. Its magnitude is given by m2 * g.
- Tension force (T): The force exerted by the rope on block m2, directed towards the left.

Now, let's determine the direction of the system's acceleration (part A) and the acceleration of m1 and m2 (part B):

From your calculations, you already found the acceleration of both blocks, which is 2.4 m/s^2. The important thing to note is that both blocks have the same acceleration magnitude but opposite directions. This is because the blocks are connected by a rope, and any force exerted on one block will be transmitted to the other.

Since m1 is on the left side of the wedge and m2 is on the right side, the direction of the system's acceleration will be towards the right.

Lastly, let's find the tension in the rope (part C):

From your calculations, you found the tension in the rope to be 36.5 N, which is correct.

So, to summarize:
A) The system will accelerate towards the right.
B) Both blocks, m1 and m2, will accelerate with an acceleration magnitude of 2.4 m/s^2, m1 towards the right and m2 towards the left.
C) The tension in the rope is 36.5 N.

Overall, your calculations and method are correct.