For the linear function h, the graph of y=h(x) in the xy-plane has a slope of 3 and passes through the point (2,7). Which equation defines h?
h(x)=3x+7
h(x)=3x−1
h(x)=3x+1
h(x)=3x−5