Lie on your side.
Support yourself with your forearm and position the lower leg and knee of your upper leg on a stable surface, like a chair or bench.
Make sure both legs are aligned straight with your body.
Raise your hips, creating a straight line from your body to your elevated leg, and lift your lower leg straight up to meet your elevated leg.
This is the starting position.
Maintaining your hips high, lower your leg to touch the floor and then raise it back to the starting position.
Repeat.