perhaps u can set up a matrix
but i'm not sure if its possible for the greater than signs
and for the third row, the use of both equations would
result in 2y + 3w > 10
as
[1 3 2 7]
[2 1 1 4]
[0 2 3 10]

it would solve for each x y and w
x = 1/3, y = 0 and w= 10/3
but i'm not sure how you would in put it into ur answer