quadratic revenue word problems