Training your Thighs (back)
The hamstrings flex the knee. Most portions also cross the hip and contribute to hip extension.
How to train this muscle group
If helpful, pair a hinge such as a Romanian deadlift with a leg curl. This trains both joint actions without requiring you to compare the loads.
Common mistake and correction
Trying to lower the weight all the way to the floor in a Romanian deadlift. Stop at the deepest position where you can control your hips and trunk.