solution:

Since we are at rest, the mass of the pulley plays no role in holding equilibrium.
Block 1:

eqnarray6

Block 2:

eqnarray10

Looking at the pulley, we know that the sum of the torques must add up to zero.

We use the values for the tensions found above as the forces.

eqnarray14

tex2html_wrap42