(х-1)/(х+2)-(1-х)/(х^2+3х+2) = ((x-1)(x+1) - (1-x))/((x+1)(x+2)) = (x^2+x-2)/((x+1)(x+2))=((x-1)(x+2))/((x+1)(x+2))=(x-1)/(x+1)
(х-1)/(х+2)-(1-х)/(х^2+3х+2) = ((x-1)(x+1) - (1-x))/((x+1)(x+2)) = (x^2+x-2)/((x+1)(x+2))=((x-1)(x+2))/((x+1)(x+2))=(x-1)/(x+1)