Answer:

Explanation:
It is given that a baseball team plays in a stadium that holds 51,000 spectators.
Let x be the attendance and p be the price.
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.
Assuming that the demand function is linear. It means, the demand line passes through the points (38000,10) and (42000,8).
The equation of line is








Substitute y=p(x).

Therefore, the demand function is
.