\(\frac{4x^2-16}{x^2+2x}=\frac{A}{x}\)\(\Leftrightarrow\frac{4\left(x^2-4\right)}{x\left(x+2\right)}=\frac{A}{x}\)
\(\Leftrightarrow\frac{4\left(x+2\right)\left(x-2\right)}{x\left(x+2\right)}=\frac{A}{x}\)\(\Leftrightarrow\frac{4\left(x-2\right)}{x}=\frac{A}{x}\)
\(\Leftrightarrow4\left(x-2\right)=A\Leftrightarrow A=4x-8\)