If \(3x^2 + p x + 12 = 0\) has equal roots, find the values…