From a given point (h,k) perpendiculars are drawn to the axis whose inclination is w and
their feet are joined.Prove that the length of the perpendicular drawn from(h,k) upon this
line is
hksin²w/√(h² + k² + 2khcosw)
and that its equation is hx - ky = h² - k²