Find a box or bench that is roughly knee height or a few inches lower. (The lower the box is the lower the mobility requirement).
You can either place your toes or the top of your foot on the box. Point your front foot forward or slightly turned outwards and break at the knees and hips simultaneously.
Aim to get your front leg to hit parallel depth (hamstring parallel with the ground) or lower.
The further forward your front foot is, the longer the Range of Motion is at your hips. The further back your front foot is, the longer the ROM at your knees.