Explanation:
Let A represent the amount of money remaining on the card after buying x cups of coffee.
Each cup of coffee costs $1.50, so after buying x cups of coffee, Alexander would have spent 1.5x dollars. If the card had a $9 remaining balance after buying 4 cups of coffee, then the initial amount on the card must have been 1.5*4 + 9 = 15 dollars.
Therefore, the equation for A in terms of x is:
A = 15 - 1.5x
This equation gives the amount of money remaining on the card after Alexander buys x cups of coffee. For example, if Alexander buys 7 cups of coffee, then he would have spent 1.5*7 = 10.5 dollars, and the amount of money remaining on the card would be:
A = 15 - 1.5*7 = 4.5 dollars