1)Solve.(x+3)^2/(x^2-x+7)(x-2)

just enter your expressions in the box at wolframalpha.com and it will show you the partial fractions decomposition.

Be sure to include enough parentheses that your input agrees with wolframalpha's interpretation of it.