A, B, and C must be constants (they can't be x). And you know one further thing: The sum you have there must be equal to the original fraction, i.e.
\frac{A}{x-3} + \frac{B}{x+2} + \frac{C}{(x+2)^2} = \frac{x^2}{(x-3)(x+2)^2}
Multiply it out, and then you know something else: for this to be true for ALL x the constant terms must be equal on both sides, and so must the coefficients of x, and so must the coefficients of x^2. You will then have three linear equations to solve--namely those that equate the coefficients of each power of x.
An alternative way that can help you get A, B, and C more rapidly is that you can pick x to be anything you want in that equation, since the equation must be true for all x. So what happens if you multiply both sides by (x - 3) and then set x = 3?