plot all the four given inequalities, seeing where they intersect at x and y axis.
the region encompassed by these 4 inequalities becomes a quadrilateral.
plot the objective func and observe when exactly will it remain inside that quadrilateral:
that func will cut y axis at z/7 and x axis at z/5
in order to remain it inside that quadrilateral following 2 conditions must be satisfied (seen from graph only):
2< (z/7) <4
3< (z/5) <5
solving & combining the above two gives: 14<z<25
hence min(z) =14
---
"You don't have to believe in God, but you should believe in The Book." -Paul Erdős