of course it didn't work, there's no identity here! what should you be proving?

Consider the LHS.cos x/1-sin x=sec x + tan x

multiply through by and simplify

and use parentheses next time to clarify what you mean. you should have typed (cos x)/(1 - sin x). here it was easy to see what you meant, but it won't always be