Applying PEMDAS
P ----> Parentheses first
E -----> Exponents (Powers and Square Roots, etc.)
MD ----> Multiplication and Division (left-to-right)
AS ----> Addition and Subtraction (left-to-right)
Parentheses first
substitute
The student error was misapplication of the comutative property