Two boxes A and B, of masses $0.4kg$ and $0.8kg$ respectively are connected by a light inextensible string. Box A lies on a rough horizontal table, $4.5m$ away from a small smooth pulley fixed at the edge of the table. The string passes over the pulley and B hangs freely, $0.5m$ above the ground. A frictional force of $0.784N$ opposes the motion of box A. The system is released from rest.

Find the total distance traveled by A, in meters.

Kinematics