Since P is on the x-axis, its y-coordinate is 0. Additionally, because Q is on a vertical segment that passes through P, we know that P and Q have the same value for the x-coordinate. Therefore, the x-coordinate of P is equal to a.
Finally, since LP=PQ and LP=a, it must be that PQ=a. Therefore, the y-coordinate of Q is also a.