Add -10 and -5 and you get -15, multiply the two and you'll get positive 50, because multiplying two negative numbers gives you a positive number, in this case 50.
You have to use the number in the variable to figure out if the number multiplied by 3.5 goes over 20 dollars. The highest you can go without going over 20 dollars is 5 notebooks