Let P like you did, and A(a, 2a).
The equation of the line is y=mx+n, but actually, you don't need it (if I read correctly).
The midpoint has its coordinates equal to half the sum of the other coordinates. Let M be the midpoint.
Am I right ??