You could just sub P(acosA, bsinA) into the equation and do some fancy algebra. Alternatively you could show that the equation is that which describes the chord PQ (which it is). For the latter method the biggest hurdle is finding the gradient in a suitable form then it kinda falls into place...