Simplify the first trigonometric expression by writing the simplified form in terms of the second expression.
(cos(x))/(1+sin(x)) + tan(x); cos(x)