упростите выражение (y+2)(y-1)+y(y-2)+(y+3)
(y+2)(y-1)+y(y-2)+(y+3)=y^2-y+2y-2+y^2-2y+y+3=2y^2+1
2y-y+2y-2+y(y-2)+(y+3)=4y-2y+4+y+3=3y+7