Cody was given a gift card for a coffee shop. Each morning, Cody uses the card to buy one cup of coffee. The original amount of money on the gift card was $30 and after purchasing 6 cups of coffee, the card had a $12 remaining balance. Write a equation for A, in terms of x, representing the amount of money remaining on the card after buying x cups of coffee

Cody was given a gift card for a coffee shop Each morning Cody uses the card to buy one cup of coffee The original amount of money on the gift card was 30 and a class=

Respuesta :

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]