原式=(x-3)²/(x+3)(x-3)+x(x²-4x+4)/x(x+3)
=(x-3)/(x+3)+(x²-4x+4)/(x+3)
=(x-3+x²-4x+4)/(x+3)
=(x²-3x+1)/(x+3)