You need: grid paper, a pencil, a ruler and a calculator (optional: a free online grapher such as Desmos on a computer or phone).
- Make a table of key points of y = x³ + 20: (−2, 12), (−1, 19), (0, 20), (1, 21), (2, 28).
- Apply the inside rule for g(x) = (1/2)(x + 4): (x, y) → (2x − 4, y). Plot the new points and join them.
- Apply the outside rule for the same g: (x, y) → (x, (1/2)(y + 4)). Plot and join.
- Check one new point of each graph by substituting it into its equation.
- Optional: in the grapher, type f(x) = x³ + 20, then y = f(A(x + B)) and y = A(f(x) + B), and add sliders for A and B. Drag A from 2 to −2 and watch the reflection.
What to look for: inside: (−8, 12), (−6, 19), (−4, 20), (−2, 21), (0, 28): the same heights, spread out twice as wide and centred at x = −4. Outside: (−2, 8), (−1, 11.5), (0, 12), (1, 12.5), (2, 16): the same x-values, with heights squeezed toward y = 0 by half after a shift up 4. With the sliders, a negative A flips the inside graph left-to-right and the outside graph upside down.