Kramer earns $400 a week at the bookstore plus $3 for every magazine he sells. He uses the equation y = 3x + 400 to represent his earrings, where x represents magazine sales and y represents his weekly pay.
If he needs to earn $490 next week to pay for his summer field trip, how many magazines does he need to sell?