Hi,
1 - You nearly got the 1st thing right. Since friction is neglected, the system wagon-pendulum experiences no horizontal force, and thus its
horizontal component of linear momentum is conserved. From this, you have the 1st equation relating the horizontal components of the velocities of the wagon and the bob [tex]v_{h(wagon)}[/tex] and [tex]v_{h(bob)}[/tex] respectively.
2 - The 2nd conserved thing is the total energy of the system, which comprises of the potential energy of the bob and the kinetic energies of the wagon and the bob. This is the 2nd equation, which relates [tex]v_{h(wagon)}[/tex] , [tex]v_{h(bob)}[/tex] , [tex]v_{v(bob)}[/tex] - the vertical component of the bob's velocity and the angles x, y.
3 - The 3rd condition is that
in the reference frame of the wagon, the velocity of the bob is perpendicular to the string. You should deduce the 3rd equation relating [tex]v_{h(wagon)}[/tex] , [tex]v_{h(bob)}[/tex] , [tex]v_{v(bob)}[/tex] and the angle y.
Try to write down the equations
