You can use the definition:
Then if
we have
Then the derivative is
I'm guessing the second part of the question asks you to find the tangent line to <em>f(x)</em> at the point <em>a</em> = 0. The slope of the tangent line to this point is
and when <em>a</em> = 0, we have <em>f(a)</em> = <em>f</em> (0) = -2, so the graph of <em>f(x)</em> passes through the point (0, -2).
Use the point-slope formula to get the equation of the tangent line:
<em>y</em> - (-2) = 3 (<em>x</em> - 0)
<em>y</em> + 2 = 3<em>x</em>
<em>y</em> = 3<em>x</em> - 2