A baseball team plays in a stadium that holds 68000 spectators. With the ticket price at $12 the average attendance has been 30000. When the price dropped to $10, the averege attendance rose to 34000.


Find the demand function p(x)\displaystyle {p}{\left({x}\right)}, where x\displaystyle {x} is the number of the spectators. (Assume p(x)\displaystyle {p}{\left({x}\right)} is linear.)

p(x)=\displaystyle {p}{\left({x}\right)}=