Calvin has a gift card which he is using to buy candy (x), and he has been tracking how much money (y) he spends. He noted that after buying 4 pieces of candy (in all) he has $28.00 left on his card and then after buying 10 pieces of candy (in all) he has $25.00 left on his card. Write the equation of the line that represents his spending on candy.