randRange(1, 8) randRange(2, 9) randRange(1, 8) randRange(2, 9)

\displaystyle \frac{A}{B} \times \frac{C}{D}

(A * C) / (B * D)

\displaystyle {} = \frac{A \times C}{B \times D}

\displaystyle {} = \frac{A * C}{B * D}

\displaystyle {} = fractionReduce(A * C, B * D)