$E_d=\frac{P}{Q}*\frac{dQ}{dP}$
You will need to solve your demand equations for Q in terms of P first in order to find $\frac{dQ}{dP}$