1) 3*(-7)^2-2*(-2)^3 = 147+16 = 163
2) 5*(-1/2)^2*(-1)^3+4*(-1/2+1) = 20+2 = 22
3) m^2+2*m*n+n^2 = (m-n)^2 = (-5+4)^2 = (-1)^2 = 1
4) 3*(-4)*3^2-2*(-4)^2*3 = -108 - 96 = -204