This is a classic introductory physics problem. Basically, you have a cart on a frictionless track (call this m 1) with a string that runs over a pulley to another mass hanging below (call this m 2).
Cuireadh roinnt torthaí i bhfolach toisc go bhféadfadh siad a bheith dorochtana duit
Taispeáin torthaí dorochtana