Amelia is going to buy some cards for her friends.Each card costs $3.She finds a coupon for $2 off the entire purchase.Write an equation that shows the number of cards purchased,x, and the total cost,y.