Two blocks, P and Q, of masses 5 kg and 3 kg respectively are connected by a light inextensible string. Block P is pulled by a horizontal force of 40 N along a rough horizontal plane. P experiences a frictional force of 10 N and Q experiences a frictional force of 6 N.
Find the tension in the string.
Hint: Draw a free body diagram.