This is just a situational question. So, no units.
Take this one for example. It is released from the left, but at the bottom it detaches and acts as a projectile. It would fall downward towards a final distance d.
What I speculate you would have to do first is calculate velocity...
This is a VERY broad posting, but I was wondering if I could get some help...
A pendulum is released from its starting point h, it swings down (how fast it swings does not matter) and is released at the very bottom of the swing.
From here the mass is released and falls in a projectile...