Stand by a bench with your legs as far apart as possible. Bend forward until your torso is horizontal.
Put your forearms on the bench and clasp your hands. Hold the stretch.
The wider apart you place your legs, the greater the stretch you will feel in the adductors. The more you lean forward, the greater the stretch you will feel in the hamstrings.