The algebraic property is: Associative Property of Multiplication, which states that:
When three real numbers are multiplied, it makes no difference which two are multiplied first.
(a * b) * c = a* (b * c)
The same goes with your given problem, where 3*(x * y) = (3 * x) * y