an automobile parts supplier charges $ 25 per package of gaskets . when a customer orders more than 10 packages of gaskets , the supplier charges 4 / 5 the price for each package in excess of 10 . during a certain week , the supplier sold 60 packages of gaskets . if 15 percent of the gaskets went to company x , 15 percent to company y , and the rest to company z , what was the total amount , in dollars , that the parts supplier received in payment for the gaskets ?
$ 25 per packet of gasket in case a customer orders less than 10 in case a customer orders > 10 price per gasket = 25 * 4 / 5 = 20 a certain week the supplier sold 60 gasket 1 . he sold 15 % of the gaskets to x = 9 gaskets = 25 * 9 = 225 2 . he sold 15 % of the gaskets to y = 9 gaskets = 25 * 9 = 225 3 . he sold remaining 70 % to z = 42 gaskets = 25 * 10 = 250 + 20 * 32 = 890 thus , total money earned 225 + 225 + 890 = 1340 answer is a
add(add(multiply(multiply(25, divide(4, 5)), subtract(subtract(subtract(60, multiply(60, divide(15, const_100))), multiply(60, divide(15, const_100))), 10)), multiply(25, 10)), add(multiply(25, multiply(60, divide(15, const_100))), multiply(25, multiply(60, divide(15, const_100)))))