The hamstrings cross and act upon the hip and knee joints. They extend the hip when the trunk is fixed and flex the knee and medially rotate the lower leg when the knee is bent. The document provides instructions for three hamstring stretches, including a lying stretch, without specifying the details of how to perform each stretch.