The number of pancakes y is proportional to the cups of pancake mix x that is used to make the pancake batter. The pancake batter will make 10 pancakes when 2 cups of pancake mix is used. Write an equation that represents the situation.