Lie on your back with your right / left leg extended and resting on the wall and the opposite leg flat on the ground through the door.
Position your bottom farther away from the wall than the illustration shows.