determine the equation of the tangent line to f(x)= 3x(1 - x)^2 when x=0.5

f'(x) = 3(3x^2-4x+1)

so at (1/2, 3/8) the tangent line is
y - 3/8 = -3/4 (x - 1/2)