Equation of tangent is
y=mx+ammx−y+am=0
Equation of normal is
y=mx−2am−am3mx−y−2am−am3=0
Distance between parallel line is
d=∣∣am+2am+am3∣∣√1+m2
Given m=tanθ
d=∣∣∣atanθ+2atanθ+atan3θ∣∣∣√1+tan2θd=a(1+tan2θtanθ+tanθ(1+tan2θ))secθd=acosθ(sec2θtanθ+tanθsec2θ)d=acosθsec2θ(1tanθ+tanθ)d=acosθsec2θ(1+tan2θtanθ)d=acosθsec4θcotθd=acscθsec2θ