Now lets write the equations for both the block
So for the 10 Kg block
Mgsinθ 1−μ sMgcosθ 1−T=Ma
Mgsin 53∘ −0.25Mgcos53∘ −T=Ma
100× 54−0.25× 100× 53−T=20
80−T=15
T=45
Now for the block of mass m
T−mgsinθ 2−μ smgcos θ 2=ma
T−mgsin37∘ −0.25mgcos37∘ =m(2)
45−mg× 53−0.25mg× 54 =m× 2
mg× 53+0.25mg× 54 +m× 2=45
6m+2m+2m=45
10m=45
m=4.5 Kg