please give a generalised solution of such questions...
two blocks of masses m1 and m2 are kept on an inclined plane of inclination

as shown.The coefficient of friction bw A and B is
1 and bw B and surface is
2. accelerations of blocks A and B are a
1 and a
2. then for what values of
1 and
2 will a
1=a
2 and a
1
a
2 ??