If the distance between P (0, 6) and Q(a, 0) is 10 units then find the value of a.​