
the idea being, you use their equivalent in a fraction,
and you put the unit you want cancelled, at the top or
bottom of the fraction, depends on where you need it,
since for the sake of ratios a/b is the same as b/a,
so you really can flip the ratio equation to suit you
what unit you want to cancel