I was wondering on how you can do this please help

Explanation
Part A
We have that Tim buys a water Pitcher for $12 and matching glasses for $2.50 each
Let the number of glasses be x
So we have the total pay as:
[tex]12+2.5x[/tex]Part B
If Tim buys 6 glasses, then it means that x =6
So that the total cost will be
[tex]\begin{gathered} T=12+2.5(6) \\ \\ T=12+15=\text{ \$}27 \\ \\ Total\text{ cost will be \$27} \end{gathered}[/tex]