Start from a dead hang position.
Pull your foot up so they are positioned against the sky. Keep your whole body (including back) completely straight.
Release your lower back and bend your knees so your back is parallel to the ground.
Repeat the exercise by straightening your body and legs.