The demand and supply equations for a new gadget are given by

where p is the price (in dollars) and x represents the number of gadgets.

Find the consumer surplus and the producer surplus for these two equations.

Consumer surplus=$

Producer surplus=$