Example 2.13: Carousel horse (3D relative motion)