How can I loop an animation with a State Machine?

I have an animation blueprint with a state machine controlling 2 animations. The first animation should only be played once, but after it is complete, I need it to start the second animation, and that second animation should loop continuously. So again, animation 1 plays once, and animation 2 loops. These loops are not controlled by the player, they are just objects following a path that play once the level starts.

I thought about using a blendspace to do it, but I can’t combine a single play animation with a loop animation in the same one, which is why I want to use the state machine.
I tried just connecting the arrows from the loop back to itself, but doing that doesn’t allow me to plug that back into the entry node.

255928-plane-loop.jpg

255932-loop.png