Answer
$$\frac{x^2-13x-6}{\left(x+3\right)^2\left(x-4\right)}$$
Work Step by Step
In order to add or subtract fractions, we must first make sure that the denominators are the same. After we create like denominators, we combine the numerators together to get the new fraction. Doing this, we find:
$$ \frac{2x}{\left(x+3\right)^2}-\frac{x+2}{\left(x+3\right)\left(x-4\right)}\\ \frac{2x\left(x-4\right)}{\left(x+3\right)^2\left(x-4\right)}-\frac{\left(x+2\right)\left(x+3\right)}{\left(x+3\right)^2\left(x-4\right)}\\ \frac{x^2-13x-6}{\left(x+3\right)^2\left(x-4\right)}$$