16. If p and q are the lengths of perpendiculars from the origin to the lines x cosθ – ysin θ = k cos2θ and x sec θ + y cosec θ = k