divide the ratio be common factors. for example, 4.
168 : 56
42 : 14 divide by 7
6 : 2 divide by 2
3: 1
The answer is three