Assuming that we have:
The mean of random variable $x$ noted as $\mu_x$, 2nd moment of $x$ noted as $E[x^2]$.
We have also the mean of $(y|x)$ noted as $A(x)+B$, and its 2nd moment $E[y^2|x]$, with constants $A$, $B$, $E[y^2|x]=C$
What we want are the mean and 2nd moment of $y$.
I think they are possible to compute, as \begin{equation} \begin{split} \int p(y)ydy & =\int \int p(y|x) p(x) y \ dxdy \\ & = \int \left(A(x)+B\right)p(x) \ dx \\ & = A\left( \mu_x \right) + B \end{split} \end{equation}
but for the correlation \begin{equation} \begin{split} \int p(y)y^2dy & = \int \int p(y|x)p(x) y^2 \ dxdy \\ \end{split} \end{equation}
I have no idea how to continue the derivation...
Thank you for your attention