I need some assistance on how to put two animations together so that one follows the other seamlessly.

I am trying create my first banner, and I have 2 animations that I need looped together.

Can someone explain how I may write this using HTML?

Thanx