Take a string or a long stick and hang a key ring, bracelet, or something similar on it. Your child holds one end of the string, and you hold the other. Now lift alternating ends and watch how the cable car moves back and forth.
If your child has trouble you can also sit them up on something higher (someone’s lap, for instance) or just move one end.