Tommy has a pet monkey. Every day, his monkey eats 4 apples in the morning. The monkey also eats two bananas for every banana that Tommy eats.

Write an equation to describe this situation where x is the number of bananas Tommy eats and y is the total number of pieces of fruit the monkey eats.