Final answer:
The value of x is 0 as point B lies midway between points A and C.
Step-by-step explanation:
Given that points A, B, and C are collinear with B lying between A and C, and the coordinates of A and C are -5 and 10 respectively, we can find the length of BC by subtracting the x-coordinate of A from the x-coordinate of C. In this case, BC = 10 - (-5) = 15.
Now, we are given that the length of AB is 22 and the length of BC is 32 - 10 = 22. Therefore, AB = BC = 22.
Since AB = BC, we can conclude that point B lies midway between points A and C. Therefore, the value of x is 0.