Solution:
Maximize Z=95x1+100x2
subject to the constraints:
5x1+2x2≤20...(i)x1≥3...(ii)x2≤5...(iii)
x1,x2≥0
Consider (i), (ii), (iii) equations and plotting their graph, we get,

Clearly, corner points are (3,0),(4,0),(3,2.5).
At (3,0),Z=95(3)+100(0)=285
At (4,0),Z=95(4)+100(0)=380
At (3,2.5),Z=95(3)+100(2.5)=535
Hence, maximum value is 535 at (3,2.5).