32Composing f(g(2)), g(f(2))
and . Find and .
f(g(2)) = 13 and g(f(2)) = 17. Composing means plugging the inner answer into the outer function: g(2) = 5, then f(5) = 3(5) − 2 = 13; and f(2) = 4, then g(4) = 4² + 1 = 17. Order matters, since the two results differ.