$f(x)=x^3-8x+14$ has roots $\alpha$, $\beta$ and $\gamma$.
I know that to find an equation with roots $3\alpha-2$, $3\beta-2$ and $3\gamma-2$, I just evaluate $f(\frac{x+2}{3})$, and to find an equation with roots $\alpha^3$, $\beta^3$ and $\gamma^3$, I just evaluate $f(x^\frac{1}{3})$.
However, what if an equation has roots $\alpha^2+\beta^2$, $\beta^2+\gamma^2$ and $\alpha^2+\gamma^2$, or another has roots $\alpha\beta$, $\beta\gamma$ and $\alpha\gamma$? What do I evaluate then?
Hint:
$$\alpha\beta=\dfrac{14}\gamma$$
So, we need to find $f\left(\dfrac{14}y\right)$
and if $y=\alpha^2+\beta^2=(\alpha+\beta)^2-2\alpha\beta$
$=(-\gamma)^2-2\cdot14/\gamma$
$$\implies\gamma^3-y\gamma-28=0$$
and $$\gamma^3-8\gamma+14=0$$
Solve for $\gamma,\gamma^3$
and use $\gamma^3=(\gamma)^3$