maximize x1 + 2*x2 subject to x1 + x2 <= 10, 2*x1 + 5*x2 <= 40, x1 >= 0, x2 >= 0