Tension of both string is same at this position and T=Mg2
In the second the string connected to rod at b is cut.Let the angular acceleration of rod about point a is α
Acceleration of point b is ab=αlb
Now torque about point a is
=Iaα
=13ml2α
Where
Ia=moment of inertia of rod about point a=13Ml2
Torque about point a=moment of weight about point a
⇒13ml2α=mgl2
⇒α=3g2l
Acceleration of centre of mass of rod,
ac=α.l2=3g4
So,considering the linear motion of COM we get,
mg−T′=mac
⇒mg−T′=m.3g4
⇒T′=mg4