Forces 5

What happens if I put a pendulum on a trolley?

While the teacher wasn't looking a student put a pendulum on the trolley of a Newtons second law experiment. The trolley and pendulum accelerated across the table and the pendulum hung at an angle of 30°. If the mass of the trolley plus pendulum was 1 kg what  mass was hung on the string?