P(-5,a),Q(b,7),R(1,-3)points are collinear such that PQ=QR. Find the value of a & b.

Solution:
There are two cases: green line and red line. The second case (red line) is impossible because PQ=QR. Thus we have only one case (green line). Further
∠PQC=∠RQD=α
because these angles are vertical ones. And we have
∠CPQ=π−∠PCQ−∠PQC=π−2π−α=2π−α;∠DRQ=π−∠RDQ−∠PQD=π−2π−α=2π−α.
Thus ∠CPQ≅∠DRQ. If PQ=QR then ΔRDQ≅ΔPCQ (by Angle-Side-Angle (ASA) Congruence). So
QC=DQ,b−(−5)=1−b,b+5=1−b,2b=−4,b=−2
Also we have
DR=CP,7−(−3)=a−7,7+3=a−7,a=17
Answer:
a=17,b=−2.