PQ, PR and QR are all segments of the same line, so they
all three must have the same slope:
We can pick any any two pairs of the three point, use the
slope formula on both pairs, set the two expressions for
the slope equal to each other, and solve for "a".
If we pick PQ and PR
Solve for a
Edwin