The form of the linear equation is

m is the slope
b is the y-intercept
Since the slope of the tangent at point (2, 7) is 3, then
m = 3
Substitute it in the form of the equation above

To find b,
Substitute x by 2 and y by 7 in the equation

Subtract 6 from both sides

The equation of the tangent is

The answer is
The equation of the tangent at the point (2, 7) is y = 3x + 1