The demand function of a good is given by qd(p)=1p, (p>0) and the supply function by qs(p)=3p+2, (p0). We determine the market equilibrium.

This implies the following:
qd(p)=qs(p)1p=3p+21=3p2+2p3p2+2p1=0p=1 or p=13,

where we used the quadratic formula in the final step.

Due to non-negativity p=1 is not allowed. Hence, the market equilibrium is (q,p)=(3,13).