Isabella has already baked 4 pies, and she can bake 2 pies with each additional cup of sugar she buys. Write an equation that shows the relationship between the additional cups of sugar x and the number of pies y.