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