To divide it in to 5 equal subintervals, we need to consider the 4 different ratios for A, B, C and D.
For A, it is one fifth of the distance away from S and four fifths the distance away from T.
So the ratio for A is 1:4
For B, 2:3
For C, 3:2
For D, 4:1