How can I have more animation to save in one animation?

For example: Idle ->Walk ->Idle = Animation.xy, after export .FBX use in game engine…

And
For example: owing to cloth required a different position to start the animation.