How to simplify this fraction step by step?

I want to simplify this expression: $frac{frac{cos(x)}{2*sqrt(x)} + sqrt(x)sin(x)}{cos^2(x)}$

I know this is the answer: $frac{cos(x)+2xsin(x)}{2*sqrt(x)cos^2(x)}$

How can I get there step by step? Thanks in advance!