The hardware store sells batteries individually. Five batteries cost $4,50, and seven batteriescost $6.30,Write a linear equation for the situation where y is the total cost for x batteries.