The question is as follows;
Suppose $2+7i$ is a solution of $2z^2+Az+B=0$, where $A, B \in \mathbb{R}$ . Find $A$ and $B$.
My understanding is that this equation holds:
$$2(2+7i)^2 + A(2+7i) + B = 0$$
which will eventually lead to:
$$-90 + 2A + B + i(56+7A) = 0$$
I would like to check if my approach is correct, and if so, what should I do next to derive $A$ & $B$.