If p and q are the lengths of perpendiculars from the origin to the lines x cos θ – y sin θ = k cos 2θ and x sec θ+ y cosec θ = k, respectively, prove that p2 + 4q2 = k2