Substitute the Point 2 into , which will give you the gradient of the tangent line.

Now, for y-coordinate, subtitute the point x=2 into f(x) i.e. , which will give you the y-coordinate.

Then simply put the data into the either 2 formulas Point-Slope or Slope-Intercept, I recommend point-slope.

and there you go, hope you understood