a) Find the equation of the tangent to the curve at $x=2$
HELP
and then
b) Determine the angle that this tangent makes with the positive direction of the $x$-axis
Please help I really need to know how to do this Please include working
Thanks.
For part a) I found the gradient by doing $g'(x)$ and subbing in $2$ for $x$ and I got $5$ so, so far I have $y=5x+c$, dunno how to find $c$ though

$$ f(2)=2^3-3\cdot2^2 + 2 + 1 = -1. $$ So the point $(2,-1)$ is on the graph. Therefore you need the line that passes through that point and whose slope is $5$.