2(m+1)^2+3(m-1)^2-5(m+1)(m-1)=4
2(m+1)²+3(m-1)²-5(m+1)(m-1)-4=0
2(m²+2m+1)+3(m²-2m+1)-5(m+1)(m-1)-4=0
(2m²+4m+2)+(3m²-6m+3)-(5m+5)(m-1)-4=0
(2m²+4m+2)+(3m²-6m+3)-(5m²-5m+5m-5)-4=0
(2m²+4m+2)+(3m²-6m+3)-(5m²-5)-4=0
2m²+4m+2+3m²-6m+3-5m²+5-4=0
-2m+6=0
-2m=-6
2m=6
m=6÷2
ответ:m=3