Lie on your back with a partner pushing one leg back towards your head, while keeping the other flat on the ground. Both legs should be straight the entire time.
More exercises: