Hello
The question here relates to property of real numbers and it's called commutative property of multiplication
commutative property of multiplication states that
x.y = y.x
[tex]\begin{gathered} 5\cdot n\cdot2=0 \\ 10\cdot n=0 \\ n=\frac{0}{10} \\ n=0 \end{gathered}[/tex]note: zero property of multiplication was also used in this case since any number multiplied by zero is equal to zero