Coefficients of friction and acceleration of blocks A and B