Two blocks A and B have masses m and 4m