Take care not to strain your legs. For now, keep resting them on a stable object of some kind. Even the wall is fine if you can’t find anything higher to rest on.

The second foot is harder to do than the first, because you have to get it beyond the first. Whichever leg is less flexible, do first.