I need help finding the equation for a tangent line

To answer this question we will use the following slope-point formula for the equation of a line:
[tex]y-y_1=m(x-x_1)\text{.}[/tex]Recall that f'(x) is the slope of the tangent line to the graph at (x,f(x)).
Therefore, the tangent line of y=f(x) at x=2 has a slope of -4 and passes through (-2,-7).
Then, using the slope-point formula for the equation of a line we get:
[tex]y-(-7)=-4(x-(-2))\text{.}[/tex]Simplifying the above result we get:
[tex]\begin{gathered} y+7=-4(x+2), \\ y+7=-4x-8. \end{gathered}[/tex]Subtracting 7 from the above equation we get:
[tex]\begin{gathered} y+7-7=-4x-8-7, \\ y=-4x-15. \end{gathered}[/tex]Answer:
[tex]y=-4x-15.[/tex]