Find an equation of the tangent line to the curve at the given point.

y = 3x^2 - x^3, (1,2)

Calculate the slope m by taking the derivative and evaluating it at x = 1

dy/dx = 6x - 3x^2 = 3 at x = 1

The equation for the tangent line will be
(y-2)/(x-1) = m = 3

Write it out in y = mx + b form.

y - 2 = 3x - 3

y = 3x - 1