The only two forces acting on the pulley are the two tensions.
What's the net torque? The torque from is the cross
product of the radius vector with
. This points into the page,
which is the negative
direction. The torque from
points the opposite way, in the positive
direction.
So in the z-direction
Now we apply in the z-direction.