Without loss of generality we can assume that pB is between pA and pC. The first case is if qA is between qB and qC as shown in the picture, obviously KL intersects PN. Analogously, if qC is between qA and qB the case is symmetrical to the one we are considering. The second case, if qB is between qA and qC, then MQ and PN are not parallel, so KL intersects at least one of them and the two cases are equivalent. According to this we can assume that KL intersects PN. The line MN cannot be parallel to pB, since in that case p is perpendicular to AC and analogously PQ is not parallel to qA.
Let X, Y and Z be the points of intersection of the lines PN, qA and pB with KL, PQ and MN respectively. From the similarity of the triangles LNZ and PMZ we get
PZLZ=PMLN(1)
Similarly from the similarity of LPY and NQY we get
LYNQ=LPNQ(2)
If KL does not pass through C, let it intersect NC and MC in U and V respectively. From the triangle CPN and Menelaus' theorem for the line KL we get
XNPX=UCNU=VPCV=−1, i.e.
NXPX=NUUC=CVVP(3).
From the similarity of the triangles KQU and LNU we get UNUQ=LNKQ, from where
1+UNNQ=1+LNKB, so UN=KBLNNQ and UC=UN+NC=KBLNNQ+NCKB and from here
NULNNQ=LNNQ+NCKBKB=LNNQ+NCKB−LNNQ(4)
Analogously, for the similar triangles KMV and LPV we get
VPCV=−LPPMLPPM+PCKA(5)
If we substitute (4) and (5) in (3) we get:
NXPX=NUUC=CVVP=−LNNQLNNQ+NCKB=LPPM+PCKA−LPPM=LPPM+PCKALNNQ+NCKB=LNNQLPPM=LNNQLPPM(6)
If we now substitute (1), (2) and (6) in Ceva's equality for the triangle LNP and the lines LK, NM and PQ we get:
PZLZNXPXLYNY=PMLNLPNQ−NMLPNQPM=−1
If KL passes through C, then X is the midpoint of PN and
BKLN=LBNC
(7)
If we now substitute (1), (2) and (7) in Ceva's equality for the triangle LNP and the lines LK, NM and PQ we get:
PZLZNXPXLYNY=−PMLNLPNQ=−LBNCLPNQ=−1
From the converse of Ceva's theorem, the lines KL, MN and PQ intersect in one point or are parallel. Without loss of generality we can assume that pB is between pA and pC. If qB is not between qA and qC as shown in the picture it is obvious that the lines cannot be parallel. If qB is between qA and qC, then in order for the lines to be parallel it is required that AMAK=ANAL, but then AMAK=ANAL=MCKB, therefore AB is parallel to AC, which is impossible since ABC is a triangle.