To find the slope of y, we take the derivative of y with respect to x and evaluate the result at x = 2.

dy/dx = 6 x

dy/dx = 6 (2) = 12