Here's a step-by-step walkthrough to clear Level 4:
1) Cut the red string to let the far-right green ball swing left, then cut the green string to drop it into the cannon—aim for the cannon itself, not the green box.
2) This fires the cannon, striking the green ball carried by the yellow balloon and sending it all the way to the left.
3) Cut the green string to drop the far-left red ball into the cannon.
4) Cut the string holding up the train so it rolls to the left.
5) Cut the purple string first, then the green string, to drop the middle red ball into the red box.
6) This knocks the green ball hanging in the middle—cut its purple string to drop it into the box.
7) Finally, cut the red string on the balloon-held green ball, wait for it to swing right, then cut the remaining string to drop it into the box.