How to get a character walking in sequencer?

I am trying to get a character walking using a walk cycle. See the image. I have two walk cycles. I make a key for the startpoint of the walk and I make a key for the endpoint of the walk.
The character walks a certain distance in the first walk cycle
BUT then the second walk cycle starts the character jumps back!!!

How to do it correct?
What am I doing wrong?

OK!
No answer on a simple question.
I found it out

myself - I had to enable root motion - b

I tried it in 4.17.2 , enabling root motion in animation and again its jumping to its original position when, animation ends.