I don’t think that problem has a single solution; by my calculations, the answer could be any value between 10/3 and 10.
That was in response to the Calvin and Hobbes word problem, I take it. If so, you are correct... the problem does not state the points are colinear. 10/3”<=AC<=10”. -1 point for no units! :P