For the first digit, you have two possible choices: 1 or 2. For *each* of those choices, you can choose 1 or 2 for the second digit in the number, and for each of *those*, you can choose 1 or 2 for the third digit of the number.
That’s 2 * 2 * 2 or 8 possible 3-digit numbers you can make with the digits 1 and 2.
The answer is going to be y<-x/2+3
Ben can buy 4 bags of pretzels
Work:
19.00-7.25 = 11.75
11.75-2.75 = 9
9/0.50 =4.5
He can only buy 4 bags because you cannot buy half a bag