The question mentions to put AC and CB into a ratio.
AC:CB
1:3
The sum of the ratio is 1+3 = 4.
Line segment = 28cm
28 / 4 = 7
Now multiply the both sides of the ratio AC:CB by 7.
AC = 1 x 7
AC = 7
CB = 3 x 7
CB = 21
So the answer must be the second one.