
Substitute p(d) = 1000, and equate it to the given

Subtract both sides by 1000, and we can now solve this as a quadratic equation.

The quadratic formula is defined as

Substitute the following values to the quadratic formula and we get

Checking

Therefore, the prices at which the theater would earn $1,000 in profit from the comedy show each weekend is at $14, and $26.