**(a)**the acceleration of the two blocks and

**(b)**the tension in the cord.

(in the diagram there is a block on a table attached to a string, with a pulley at the corner of the table and on the other side of the string the 185N block hanging away from all surfaces)

My work:

Tension is the same for both blocks, much like acceleration is the same magnitude but opposite sign (a2 = -a1)

sum of forces on block 1 in the x direction (since Fn and Fg cancel out)

= T = m1a1

sum of forces on block 2 in the y direction (only Tension and Fg acting)

= T - Fg = m2a2y

since Tensions are the same, we can equate these two equations to:

m1a1 - Fg = m2a2y

This is where i get stuck!!

I need to solve for a then solve for T

but how can i solve for a2 (which is the -a1) when they will cancel?

I'm really lost on the algebra on this one, please help

all thanks