Let $\Bbb R[x]$ denote the set of all polynomials with real coefficients and let $A$ denote the subset of all polynomials with constant term $0$. Then $A$ is an ideal of $\Bbb R[x]$ and $A=\langle x\rangle$
So I actually have proved that $A$ is an ideal of $\Bbb R[x]$ and am not confused by that at all, but I am having difficulty proving that $A$ is the set generated by $x$. Not necessarily sure where to start here.
The ideal $\left<x\right>$ is the set of polynomials in $R[x]$ that are multiplies of $x$, i.e. $$\left<x\right> = \{xf(x) : f(x) \in R[x]\}.$$