Finite Math Examples

Minimize the Equation given the Constraints x*1+4x*2+8x*3=118 , x*1+2x*2+10x*3=217 , z=8x*1+3x*2+x*3
I am unable to solve this problem.