The graph of a linear function h has a slope of 3 and passes through the point (2,7). Which of the following defines h?
h(x)=3x+1
h(x)=3x+7
h(x)=3x−1
h(x)=3x−7