Step-by-step 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:
Part B
If Tim buys 6 glasses, then it means that x =6
So that the total cost will be