In this case, the weight of the person and their speed are irrelevant because the question asks for a function specific to the circumstances. Your function would be

, where
(y) is equivalent to the total number of calories burned and (x) is equivalent to the number of hours the person exercised.