angelo and isabella are both salespersons . in any given week , angelo makes $ 550 in base salary plus 8 percent of the portion of his sales above $ 5,000 for that week . isabella makes 10 percent of her total sales for any given week . for what amount of weekly sales would angelo and isabella earn the same amount of money ?
"official solution : the problem asks for the amount of weekly sales it takes for angelo and isabella to earn the same amount of money . you can write an equation that sets angelo ’ s and isabella ’ s weekly earnings equal to each other , with x representing weekly sales . weekly earnings for each salesperson equal base salary plus commission . so angelo ’ s earnings are 550 + ( 0.08 ) ( x – 5,000 ) , and isabella ’ s are 0.10 x . set up the equation and solve : 550 + ( 0.08 ) ( x – 5,000 ) = 0.10 x distribute the 0.08 : 550 + 0.08 x – 400 = 0.10 x combine terms and subtract 0.08 x from both sides : 150 = 0.02 x divide both sides by 0.02 : 7,500 = x your answer is a ."
floor(divide(divide(subtract(550, multiply(5,000, divide(8, const_100))), subtract(divide(10, const_100), divide(8, const_100))), 5,000))