B is between A and C. If AC = 31, AB = x–6, and BC = 2x+10, find the value of x. (Hint: Draw a picture.)

x =