Since Bob's score increases 3 points for each target of type x, he gets 3x points from that. For targets of type y, he gets 4 points each, so that contributes 4y points. Then his total score would be 3x + 4y. To win, this total score must be above or equal to 20 points, so the inequality would be:
3x + 4y >= 20