If (3, x) is the mid-point of the line segment joining the points A(8, −5 ) and B(−2, 11), then find the value of ‘x ’