Simplify the following compound fraction: $$\frac{2x+1}{\frac{3}{x^2}+\frac{2x+1}{x}}$$
My calculator says the final answer is $$\frac{x^2(2x+1)}{2x^2+x+3}$$
Please show the work. Thanks.

The answer could be considered complete, but, as I said in my comments above, you could simplify a bit more since the numerator has a higher degree than the denominator, i.e.:$$
\frac{x^2(2x+1)}{2x^2+x+3}=\frac{2x^3+x^2}{2x^2+x+3}=\frac{2x^3+x^2+3x-3x}{2x^2+x+3}
$$$$=\frac{x(2x^2+x+3)-3x}{2x^2+x+3}=x-\frac{3x}{2x^2+x+3}$$
