two blocks a and b of masses m and 2m are connected