If the demand function for a commodity is given by the equation

p2 + 16q = 1800
and the supply function is given by the equation
500 − p2 + 2q = 0,
find the equilibrium quantity and equilibrium price.