we bought a total of 80 books at the store . math books cost $ 4 and history books cost $ 5 . the total price was $ 373 . how many math books did we buy ?
"m + h = 80 h = 80 - m 4 m + 5 h = 373 4 m + 5 * ( 80 - m ) = 373 m = 27 the answer is b ."
subtract(80, subtract(373, multiply(80, 4)))