Enrique used the following steps to solve an equation.

3x2=27
Step 1: 3x^2 - 21 = 0
Step 2: 3(x^2−9) =0
Step 3: 3(x−3)2 = 0
Step 4: x−3= 0
Step 5: x = 3
What mistakes, if any, did Enrique make?