you cant do that because its not proportional. You could show that as your answer the teacher will probably agree with you because that happens to me all the time
Work out 9% of $87.00 then add theat to the $87.00 that will be the total cost. find how much cash she gave the cashier and then minus the total cost from that to find the change she got.