(a) Here, friction force is balanced by weight of the body.
mgsin15=μmgcos15
μ=tan15
=tan(45−30)
μ=(tan45−tan30)1+tan45tan30
μ=√3−1√3+1
(B) For block A
T−mg=ma
T=(10+a).........(1)
For block B
mg−T=ma
T=m(g−a)
T=2(10−a).......(2)
Solve equation (1) and (2)
a=103m/s2