Finite Math Examples

Minimize the Equation given the Constraints z=3x+2x^2-4x^3 , x-x^2+x^3=10 , 2x-x^2+2x^3=30 , -3x+x^2+3x^3=40
I am unable to solve this problem.