Answer:
He earned $852 from the gumballs he sold.
Explanation:
It says he sold 20 boxes and there are 45 pieces of candy in each box so you multiply 20 and 45 and you will get 900 so they had sold 900 pieces of candy. And from the lollipops he earned $948 the you divided by 2 cause that is how much each piece cost and that gets you 474, which are how many lollipops he sold. So now that you have the amount of lollipops he sold you have to subtract that from the total amount of candy he had, which is 900, so minus 474 from that and you get 426 pieces of gum that were sold and then multiply that by 2 because it cost 2 dollars for each piece and you get $852.