Loop last scene back to start

I have a similar issue without the interactions.

I’ve animated 2 scenes for a banner ad. The output of the banner needs to be a GIF at 5 fps with 3 loops.

I tried @MarkHunte recommendation on looping in another post. However, that only works for a single scene.

I trying to achieve the same result with 2 scenes. Please help.