Use the dot product!
Im not sure how!
There are three coordinates here, but the dot product can only be used with two because the dot product is not associative?
I tried using the dot product with the vector equations of point P and R (assuming Q is in the middle?) ... I don't seem to get the right equation though. Not sure what I'm doing wrong !