Explanation:
The given equation can be further simplified into
![2x^(2)+2x-12=0](https://img.qammunity.org/2022/formulas/mathematics/college/6d32kkwdbbvey30ysgopyn6xmedz0yixbx.png)
The roots of a quadratic equation is given by
![x = \frac{ - b \: \pm \: \sqrt{ {b}^(2) - 4ac} }{2a}](https://img.qammunity.org/2022/formulas/mathematics/college/vk22lnb1m1cb3bwaosi1o5pujstpfeq89k.png)
where a = 2, b = 2 and c = -12. Putting these into the roots equation, we get
![x = ( - 2 \: \pm \: √(4 \: - \: 4(2)( - 12)) )/(2(2)) = ( - 2 \: \pm \: 10)/(4)](https://img.qammunity.org/2022/formulas/mathematics/college/xdgg3qdmpmdjzbb7q96aqab5a6m0rutc4j.png)
This gives us two possible roots:
x = 2, x = -3
Since the condition is that p < q, we see that p = -3 and q = 2. Therefore,
![q - p = 2 - ( - 3) = 5](https://img.qammunity.org/2022/formulas/mathematics/college/i2skrc7j5e1d40xvc4brxz34jgjdfws2rz.png)