

Some information is missing in the question. The distance between the points A and B needs to be provided.
Also, we can simply assume that since the body is moving with a constant acceleration, so at the midpoint of A and B, its velocity should be
= (6 + 8)/2
= 7 m/s.
