We have, p1= Length of the perpendicular from (0,0) to x‌sec‌θ+y‌cosec‌θ=a ⇒‌‌p1=|‌
0‌sec‌θ+0‌cosec‌θ−a
√sec2θ+cosec2θ
| =‌
a‌cos‌θ‌sin‌θ
√sin2θ+cos2θ
=a‌sin‌θ‌cos‌θ ⇒2p1=2a‌sin‌θ‌cos‌θ ⇒2p1=a‌sin‌2‌θ and p2= Length of the perpendicular from (0,0) to x‌cos‌θ−y‌sin‌θ−a‌cos‌2‌θ=0