Hamstrings contract
Arm straightens
The muscles contracts means
Arm bends
Quadriceps relax
Triceps relax
Biceps contract
Hamstrings contract
Biceps pulling up the bone
Quadriceps relax
Triceps relax
Biceps contract
it is shortening
Triceps pulling down the bone