Partial fractions decomposition of ${\frac{2x}{(x+2)^2}}$ Express in partial fraction form: $\displaystyle{\frac{2x}{(x+2)^2}}$
I think is $\displaystyle{\frac{2x}{(x+2)^{2}} = \frac{A}{x+2}+\frac{B}{(x+2)^2}}$
However when identifying $A$ and $B$, I'm not sure how to calculate A.
E.g.  $$2x = A\cdot (x+2) + B$$
Substitute $x=-2$    
$2\cdot(-2)$ = $A\cdot (2-2) +B$
$-4 = B$
In other questions there is always another factor to multiply by at this stage.

May be somehow tricky but I love this kind ...
$$\quad{\frac{2x}{(x+2)^2} = \\\frac{2(x)}{(x+2)^2} = \\
\frac{2(x+2)-4}{(x+2)^2} = \\
\frac{2(x+2)}{(x+2)^2} +\frac{-4}{(x+2)^2} = \\
\frac{2}{(x+2)} +\frac{-4}{(x+2)^2} \\}$$
