x+y≤4
x
0
4
y
Corner points
Value of z=3x+4y
(0,4)
16
(4,0)
9
(0,0)
Hence, z is maximum at (0,4) and max value is 16