Alec simplified the expression below. He then checked his work by substituting 3 for x. He noticed his two values
were not equal. The expression gave him an answer of 27, and the simplified expression gave him an answer of 28.
What was Alec's error when simplifying?