This is meant to correct a misimpression left by my hint, and not (yet) to serve as a complete answer.
Given the ring of polynomials $R = \mathbb{Z}[x]$ over the integers, we are asked to show the ideal $I = (x^2,2x,4)$, which is evidently generated by three elements, cannot actually be generated by any two polynomials $U,V$ in $R$.
As you might guess this is a special case of a more general theorem, but we are likely expected to limit ourselves to elementary methods in proving the special case.
The first trick to consider here is passing to the quotient ring by taking polynomials modulo the prime ideal $(x)$, which puts us back in familiar territory, the ring $\mathbb{Z}$.
Another way to view that homomorphism of rings is "evaluation at zero", i.e. setting $x=0$ in every polynomial. Now the statement that $U,V$ generate 4 in $R$ becomes an easier idea to work with. That is from polynomials $p_0,q_0$ that give us in ring $R$:
$p_0*U + q_0*V = 4$
we get an inference about the constant terms of $U,V$, by applying the homomorphism:
$p_0(0)*U(0) + q_0(0)*V(0) = 4$
in the ordinary ring of integers $\mathbb{Z}$. Moreover as outlined in my comment, no combination of $U(0),V(0)$ can give a proper divisor of 4, else the image of $I$ under the ring homomorphism would contain more than the ideal $4\mathbb{Z}$.
Thus your guess that $U,V$ have constant terms 1 and 3, respectively, is incorrect. What we can say is that the greatest common divisor of $U(0),V(0)$ is $4$.
Sketch of Answer:
We can go further with the analysis and show that without loss of generality: $U = U^*x^2 + 2mx + 4$ $V = V^*x^2 + (4n+2)x$ Once we have this, we can show that $x^2$ is not generated by $U,V$.
The argument goes like this. Suppose $pU + qV = x^2$. Since the constant term of $V$ is zero, $p$ must have a factor of $x$ to avoid contributing a nonzero constant to the combination. But then $pU$ has a coefficient of $x$ that is a multiple of $4$, and to avoid $qV$ contributing an uncancelled (mod $4$) coefficient of $x$, the constant term of $q$ must be even.
Putting these facts together tells us that the $x^2$ coefficient in $pU + qV$ is even, contradicting our assumption that it equals $x^2$. For $p$ contains a factor of $x$, and so $pU$ must make the even contribution that is a multiple of $2mx^2$, from the lowest degree term in $p$ times the $x$ term in $U$. And the contribution of $qV$ to the $x^2$ term consists of the even constant term of $q$ times the $x^2$ term of $V$ plus the $x$ term of $q$ times the even term $(4n+2)x$ of $V$. QED
It remains to back up and explain why without loss of generality $U,V$ may be taken to have the forms shown above. First of all, since $U,V$ belong to ideal $(x^2,2x,4)$, it is clear that their constant terms will be multiples of $4$ and that their $x$ terms will be even.
But more than this, as previously explained, $4$ is the greatest common divisor of the constant terms $U(0),V(0)$. Thus the steps of the Euclidean algorithm in $\mathbb{Z}$ lead to expressing $4$ as an integer combination of $U(0),V(0)$.
Recalling how the Euclidean algorithm works in $\mathbb{Z}$, apply those steps of adding an integer multiple of one polynomial $U,V$ to the other, until finally we reach a pair of polynomials which have constant terms $4$ and zero respectively.
Note that the ideal $(U,V)$ is equal to the ideal $(U+kV,V)$. For the latter is surely contained in the former, and it is easy to see that $U,V$ are each contained in the latter.
So repeatedly apply those steps of the integer Euclidean algorithm will lead to the promised pair of polynomials, which we take the liberty of relabelling so that $U(0) = 4$ and $V(0) = 0$.
Finally we argue that the $x$ term of $V$ must be "oddly even", i.e. congruent to $2$ mod $4$. This is a consequence of expressing $2x$ as a combination of $U,V$. For again the multiple of $U$ must have a factor of $x$ to avoid contributing a nonzero constant term, and thus said multiple of $U$ will have an $x$ term whose coefficient is a multiple of $4$. To get $2x$ as a combination therefore requires the $x$ term of $V$ to be of the form $(4n+2)x$.