A baseball team plays in a stadium that holds 51,000 spectators. With ticket prices at $10, the average attendance had been 38,000. When ticket prices were lowered to $8, the average attendance rose to 42,000. How should ticket prices be set to maximize revenue?