Meredith is playing games at an arcade to earn tickets that she can exchange for a prize. She has 287 tickets from a previous visit, and she earns 5 tickets for each game she plays. In the equation below, x represents the number of games Meredith plays, and y represents the number of tickets she needs for the prize. y = 5x + 287 If Meredith needs 367 tickets to exchange for the prize she wants, how many games does Meredith need to play?