If 1 + sin θ = x cos θ, then tan θ is