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

Let A be the amount of money remaining on the gift card and let x be the number of cups of coffee purchased.

Since each cup of coffee costs the same amount, we can set up a proportion to represent the situation:

$30 - x = $12

Solving for A in terms of x, we get:

A(x) = $30 - x