Ratios

Simplify an integer ratio and scale its components by a chosen factor.