If #sec theta + tan theta = P#, then what is #cos theta# equal to?