Is it possible for AB =10 BC =2x+5 AC =5x given that point B is midpoint why or why not

If B is mid-point, then

AB=10 = 2x+5=BC
or
x=2.5
then AC=20=8x and not 5x.
So it is not possible.