The expression was rewritten using the

Associative Property of Multiplication

(9 x 5) x 2 equals 45 x 2 which equals 90.
9x (5 x 2) equals 9 x 10 which equals 90.

Both expressions are equal to 90.