How to write the law of fractional multiplication in junior high school books?

How to write the law of fractional multiplication in junior high school books?

The product of the numerator is used as the numerator of the product and the product of the denominator as the denominator of the product