If $X$ has mean $3$ and variance $8$, find $E\left[(3 + 2X)^2\right]$ and $E(4 + 7X)$. this question is throwing me off and my textbook doesn't include any solutions, or any examples relating to these kinds of question so any help on a solutuion would be great
If $X$ has mean $3$ and variance $8$, find $E\left[(3 + 2X)^2\right]$ and $E(4 + 7X)$.

hint: expand everything, use the linearity of $E$ and the relations
$$
E[1] = 1\\
\text{var }X = E[X^2] - E[X]^2
$$
