The polynomial \(p(x)\) is defined by
$$p(x) = ax^3 + 3x^2 + bx + 12,$$
where \(a\) and \(b\) are constants. It is given that \((x + 3)\) is a factor of \(p(x)\). It is also given that the remainder is 18 when \(p(x)\) is divided by \((x + 2)\).
- Find the values of \(a\) and \(b\). [5]
- When \(a\) and \(b\) have these values,
- show that the equation \(p(x) = 0\) has exactly one real root, [4]
- solve the equation \(p(\sec y) = 0\) for \(-180° < y < 180°\). [3]