I am trying to understand the concept of the catapult

Here is a great video on a choo choo mechanism linkage for a catapult.