They have been taking their resting heart rates and maximum heart rates for the past two weeks at the beginning and the end of each class.
(They; have been taking; their resting heart rates and maximum heart rates; T:for the past two weeks; T:at the beginning)
They
have been taking
their resting heart rates and maximum heart rates T:for the past two weeks T:at the beginning