a, c, e = numerator
b, d, f = denominator
-- = fraction line
numeratorA is 1
denominatorA is 4
numeratorB is 1
denominatorB is 2
1 | ||
-- | ||
4 | 1 | |
--- | = | --- |
1 | 2 | |
-- | ||
2 |
We divide fractions as follows.
numeratorA is divided by numeratorB in our case
1/1=1
and denominatorA by denominatorB in our case
4/2=2