I didn't get how you got to this through getting the same denominator: \dfrac{2x+1}{(x+2)^2}=\dfrac{A}{x+2}+\dfrac{B}{(x+ 2)^2}=\dfrac{A(x+2+B}{(x+2)^2} ( The last part)
I didn't get how you got to this through getting the same denominator: \dfrac{2x+1}{(x+2)^2}=\dfrac{A}{x+2}+\dfrac{B}{(x+ 2)^2}=\dfrac{A(x+2+B}{(x+2)^2} ( The last part)