Answer:[tex]\frac{-7}{4} + \frac{1}{4} \sqrt{5}[/tex]
Step-by-step explanation:
You have to rationalise the denominator [tex]\sqrt{5} - 1[/tex] in this case so multiply the whole equation by [tex]\frac{\sqrt{5} + 1}{\sqrt{5} + 1}[/tex] (this is in fact multiplying by 1 since the top and bottom of the fraction are the same).
So then you would get [tex]\frac{3\sqrt{5} - 10 + 3 - 2\sqrt{5} }{5-1}[/tex]
then [tex]\frac{-7 + \sqrt{5}}{4}[/tex]
so p = [tex]\frac{-7}{4}[/tex] and q = [tex]\frac{1}{4}[/tex]