Determine the equation of the function that has the indicated transformation applied to it.

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

Is it 6(x+1)^2-2?
or 9(x+1)^2-2?