Let $f(X)$ be an irreducible polynomial of degree 5 with coefficents in the field of rational numbers $\mathbb{Q}$. Assume that $f$ has at least one non-real root in the complex field $\mathbb{C}$. Assume further that the discriminant of $f$ is a square in $\mathbb{Q}$.
Let $r$ be a root of $f$, and let $K$ be the field $\mathbb{Q}(r)$, so that $f$ factors in $K[X]$ as $$f = (X − r)g$$ with $g$ of degree 4. Prove that $f$ is solvable by radicals if and only if $g$ is reducible in $K[X]$.
My thoughts:
I know that since the discriminant of $f$ is a square in $\mathbb{Q}$, $G\subset A_5,$ and since $f$ is irreducible, $G$ must be transitive. So we must have that either $G\cong A_5$ or $G\cong D_5$ (the dihedral group of order 10). Moreover, since char $\mathbb{Q}=0,$ we know that $f$ is solvable by radicals if and only if $G$ is solvable.
Since $A_5$ is simple and non-abelian, $A_5$ is not solvable. On the other hand, $D_5$ is solvable: $D_5$ has an element $r$ with $r^5=e$, and $[D_5 : \left<r\right>]=2,$ so $\left<r\right>\triangleleft D_5.$ Now
$$D_5\triangleright\left<r\right>\triangleright\{e\}.$$ So it suffices to show that $g$ is reducible in $K[X]$ if and only if $G\cong D_5.$
If $f$ has exactly 2 non-real roots, then the only nontrivial $\mathbb{Q}$-automorphism is complex conjugation, so $G$ contains a transposition, which implies $G\cong S_5$. Thus, $f$ must have exactly one real root and 4 non-real roots.
This is where I'm stuck. How can we relate the reducibility of $g$ in $K[X]$ to the Galois group of $f$?
HINT: The subgroup of $G$ fixing $r$ acts transitively on the remaining roots iff $g$ is irreducible.