Cho hàm số \(y=\frac{x^{2} +2x-3}{x+2}\) . Đạo hàm y' của hàm số là:
\( A. 1+\frac{3}{\left(x+2\right)^{2} } \)
\(B. \frac{x^{2} +6x+7}{\left(x+2\right)^{2} } \)
\(C. \frac{x^{2} +4x+5}{\left(x+2\right)^{2} } \)
\(D.\frac{x^{2} +8x+1}{\left(x+2\right)^{2} } \)