We have the next multiplication properties
Line 1 to Line 2:

We can see that in this step is used the associative property of multiplication.
Line 2 to Line 3:

We can see that in this step is used the commutative property of multiplication.
Line 3 to Line 4:

We can see that in this step is used again the associative property of multiplication