Integrating a fraction/square roots when 'x' is on the bottom

How would I transpose this formula so I can integrate it? I'm not good with integrating fractions or square roots.

Integrate:

Q1) $\displaystyle \frac{dy}{dx}$=$\displaystyle \frac{x^3-2x}{x}$

Q2) $\displaystyle (\sqrt{x}+1)^2$

It's the fractions and square roots that are annoying. For the square root, I know I'd have to write two brackets out and possibly expand, but don't know how I would expand with a square root - So does the 'x' in the square root become: $\displaystyle x^\frac{1}{2}$? Or something along those lines..

Thanks in advance.