To write a system of equations for this problem, you will need to consider the forces acting on each block and the pulley. For the blocks, you will need to consider the force of gravity and the tension in the cord. For the pulley, you will need to consider the torque due to the tension in the cord.

For the block on the left, the equation would be:

m1*a = T1 - m1*g

For the block on the right, the equation would be:

m2*a = T2 - m2*g

For the pulley, the equation would be:

I*alpha = T1*R - T2*R

Where I is the moment of inertia of the pulley, alpha is the angular acceleration, T1 and T2 are the tensions in the cord, and R is the radius of the pulley.

Once you have written the equations, you can solve them simultaneously to find the acceleration, tension in the cord, and angular acceleration of the pulley.