You seem to have kept the loosest bounds and discarded the strictest.
Discarding the second and fourth, I get .
IMPORTANT: x is not the value you seek to find the min and max of. You want to find min and max of "the number of male patients under 50 without a back problem" which is 7-x. So...