I enjoyed the bit at the end where the writer managed to use the wrong (IMO) formula to arrive at the correct answer.
Using BEDMAS as I was taught, so many moons ago:
6 ÷ 2 ( 1 + 2 )
6 ÷ 2 ( 3 )
6 ÷ 2 * 3 // because 2(3) is not an exponent or algebraic construct, it's straight multiplication
3 * 3 // division and multiplication are in left-to-right order, no precedence
9