Given the following parameters:
• Cost of a bowl of salad = $5.00
,• Cost of a bowl of pizza = $2.00
If Nick buys S bowls of salad, the total money spent on salad will be $5S
If Nick buys P bowls of pizza, then the total money spent on pizza will be $2P
Since E represents the amount in dollars that Nick spends on salad and pizza, the total amount (E) he spends is given according to the equation:
[tex]E=5S+2P[/tex]Next is to write P in terms of E and S.
Given the equation:
[tex]E=5S+2P[/tex]Subtract 5S from both sides of the equation
[tex]\begin{gathered} E-5S=5S-5S+2P \\ E-5S=2P \\ 2P=E-5S \end{gathered}[/tex]Divide both sides by 2:
[tex]\begin{gathered} \frac{\cancel{2}P}{\cancel{2}}=\frac{E-5S}{2} \\ P=\frac{E-5S}{2} \end{gathered}[/tex]Therefore the quantity of pizza (P) he buys can be represented by the equation
P = (E-5S)/2