If sec θ− tan θ = P. Obtain the values of tan θ , sec θ , and sin θ in terms of P.