Answer:
The equation for A is;
[tex]A=30-3x[/tex]Explanation:
Firstly, let us calculate price of one cup of coffee.
Given;
The original amount of money on the gift card was $30
after purchasing 6 cups of coffee, the card had a $12 remaining balance.
The price per cup of coffee will be;
[tex]\begin{gathered} p=\frac{30-12}{6} \\ p=\frac{18}{6} \\ p=\text{ \$3} \end{gathered}[/tex]If x represent the number of cups of coffee and A represent the amount of money remaining after x cups.
Then we can express A as;
[tex]\begin{gathered} A=\text{ \$30 - p(x)} \\ A=30-3x \end{gathered}[/tex]The equation for A is;
[tex]A=30-3x[/tex]