Amanda earns $3 for every cup of lemonade she sells. Write an equation that shows the relationship between the number of cups sold x and the earnings y. Write your answer as an equation with y first, followed by an equals sign.