Question

If \(x^2 = ax + b\) has solutions \(x = -2\) and \(x = 4\), find the values of \(a\) and \(b\).