(secA+tanA)(1-sinA)

just expand and see what happens

I'll elide the x's just for ease of typing

sec - sec*sin + tan - tan*sin
sec - tan + tan - tan*sin
sec - sin^2 * sec
sec(1-sin^2)
sec*cos^2
cos