Question 1019982
Use the quotient rule:


*[tex \large \frac{dy}{dx} = \frac{(e^{x+2} + 1)(\sin \, x - e^x) - (e^{x+2} + x)(\cos x - e^x)}{(\sin x - e^x)^2}]


and simplify.