The carriage of mass $2 m$ is free to roll along the horizontal rails and carries the two spheres, each of mass $m,$ mounted on rods of length $l$ and negligible mass. The shaft to which the rods are secured is mounted in the carriage and is free to rotate. If the system is released from rest with the rods in the vertical position where $\theta=0,$ determine the velocity $v_{x}$ of the carriage and the angular velocity $\dot{\theta}$ of the rods for the instant when $\theta=180^{\circ} .$ Treat the carriage and the spheres as particles and neglect any friction.