Solve this following
Question:

If $y=x+\tan x$, show that $\cos ^{2} \cdot \frac{d^{2} y}{d x^{2}}-2 y+2 x=0$

Solution: