The function h is a linear function such that h(2)=1 and h(6)=−7. Which of the following defines h(x)?
h(x)=−2x+5
h(x)=−3x+7
h(x)=−x+3
h(x)=−21x+2