The roots of x^2 + 8x + 4 are the same as the roots of Ax^2 + x + B . What is A + B?
If two quadratic polynomials have the exact same roots, then one of them is a multiple of the other.
Judging by the coefficients of x, Ax^2 + x + B should be 1/8 times of x^2 + 8x + 4.
You can continue by expanding \(\dfrac18 (x^2 + 8x + 4)\) and finding the coefficient of x^2 and the constant term.