Step 1 :Substitute \(x+2\) into the original function \(f(x)\), we get \(f(x+2) = (x+2)^2 + 3(x+2) - 4\)
Step 2 :Expand the equation to get \(f(x+2) = x^2 + 4x + 4 + 3x + 6 - 4\)
Step 3 :Simplify the equation to get \(f(x+2) = x^2 + 7x + 6\)