Given that $\displaystyle p=\log_{q}16$, express $\displaystyle \log_{q}2$ and $\displaystyle \log_{2}8q$ in terms of p.

The answers are $\displaystyle \frac{p}{4}$ and $\displaystyle 3+\frac{4}{p}$ respectively. I kind of get why the first one would be that but I really don't know how to work either of them out