If 120 it is 24 in and 96 in
If 120120 it is 96096 in and 24024 in
All you do is divide it by 5 because you are really looking for 1/5 and 4/5 of the pipe so by dividing by 5 you will get 1/5 which is the shorter side then times that by 4 to get the other