`a)P=(x^2+sqrtx)/(x-sqrtx+1)-(2x+sqrtx)/sqrtx`
`P=(sqrtx(sqrtx+1)(x-sqrtx+1))/(x-sqrtx+1)-(sqrtx(2sqrtx+1))/sqrtx`
`P=x+sqrtx-2sqrtx-1`
`P=x-sqrtx-1`
a: Ta có: \(P=\dfrac{x^2+\sqrt{x}}{x-\sqrt{x}+1}-\dfrac{2x+\sqrt{x}}{\sqrt{x}}\)
\(=x+\sqrt{x}-2\sqrt{x}-1\)
\(=x-\sqrt{x}-1\)