For f(x) equal to x3 − 8, f(x − 2) will give (x − 2)3 − 8.
Then g(x) = f(x − 2) + 4 will be written as (x − 2)3 − 8 + 4 or (x − 2)3 − 4 which expands and simplifies to
x3 − 6x2 + 12x − 8 − 4 or x3 − 6x2 + 12x − 12.
Transformation will draw an identical graph that is "picked up" and placed 4 units higher and 2 units farther to the right at all of its points.