方程化为:6/(x+2)-(x+2)/(x-2)+x^2/(x+2)(x-2)=0
两边同时乘以(x-2)(x+2)
6(x-2)-(x+2)^2+x^2=0
6x-12-4x-4=0
2x=16
x=8
经检验为原方程的根.