If P(a3,4) is the mid point of the line segment joining the points (−6,5),(−2,3). Then, find the value of a.