In the picture in the attachment, we are given that the blue lines CP and AR are parallel, as are the green lines BP and AQ, and we want to show that the red lines AP and QR are parallel. The proof is by similar triangles, showing that the triangles ABC and ARQ are similar. It then follows that the angle AQR between the green line AQ and the red line QR is equal to the angle ACB. This in turn (angles in the same segment) is equal to the angle APB between the green line BP and the red line AP. Since the green lines are parallel, it follows that the red lines are parallel.

To see that the triangles ABC and ARQ are similar takes a bit of work. Start with the angle AQC, between the green line AQ and the orthogonal CHQ to the line AB. This is the complement of the angle between AB and the green line BP. So . A similar argument shows that the angle ARH (between the blue line AR and the orthogonal to AC) is related to the angle ACP (between AC and the blue line CP) by . But the angles ABP and ACP are supplementary (opposite angles of a cyclic quadrilteral), and it follows that .

Now look at the triangle ABR, in which . The sine rule in this triangle tells you that (notice that supplementary angles have the same sine). A similar calculation in the triangle AQC tells you that . Since the angles in those equations are equal, it follows that .

The final piece of information that we need is that the angles QAR and BAC are equal. (I'll leave out the details of that — it's just a matter of chasing around with angles in the same segment, and angles between parallel lines.) Together with the equality between the ratios of the sides, that completes the proof that the triangles ABC and ARQ are similar.