Mallory bought a pizza and sodas for her birthday party. If she spent$12.57 on the sodas and $10.95 for each pizza, how many pizzas did shebuy if she spent $89.22?

For the present problem, it is already given a fixed value for the soda, and the money spent by Mallory buying pizza depends on the number of pizzas she bought. If X stands for the number of pizzas she bought, X x 10.95 is the price she paid for the pizzas. It allows us to write it as a function, where Y is the total of money she spent.
[tex]Y=12.57+10.95X[/tex]Because we already know Y is 89.22, we can substitute it, and we find:
[tex]10.95x+12.57=89.22[/tex]