Let's solve the problem.
we have a=74g 
first of all we mark the directions of x and y forces which impact to P and Q particles
 for P particle: N=2mg    2ma=T−Fff=T−μN=T−μ2mg 
for Q particle: 5ma=5mg−T 
{2ma=T−μ2mg5ma=5mg−T    +→7ma=5mg−2μmg/:m 
                                                                  7a=5g−2μg 
                                                                μ=2g5g−7a =2.5−3.5ga = 25−27∗74 =0.5 
(b) the coefficient of friction between the first particle and the table is 0.5
(a)  the tension in the string is T=5m(a+g)=5m(g+74g)=755mg 
                             
Comments