These muscles flex at knee and extend at hip