Answer:
AC = 20.5, CB = 14.5
Explanation:
Let X be the distance of AC, and Y be the distance of CB. We can write 2 equations with the given information:

Now we have a system of equations that we can solve for both variables.
Solve by substitution:

Then the next equation:

x = 20.5, y = 14.5
or
AC = 20.5, CB = 14.5
20.5 is 6 longer than 14.5, and they add up to 35cm, so this is our solution.