maximize 3y + x for y >=1, 2 <= x <=4, y <=-1/2 x + 2