Let $a\in\mathbb C$ be a root of $f=X^3-X-1\in\mathbb Q[X]$.
a) Show that $f$ is irreducible.
b) Show that $b:=2a^2-a-2\neq 0$.
c) Compute the minimal polynomial of $a^2$.
Now a) and b) are trivial and I want to show c). Let $g$ be the minimal polynomial of $a^2$. We have that $\mathbb Q(a^2)$ is a subfield of $\mathbb Q(a)$ which is of degree $3$ by a), so either $g=X-a^2$ or $g$ is of degree 3. The first case can't be since $a^2\notin\mathbb Q$, so $g$ is of degree 3. Is there a smart way to find it? Probably it has something to do with $b$ but I can't see it yet.
First note that the degree of the extension $\Bbb Q(a)$ over $Q$ is $3$ so there are no intermediate field extensions so either $\Bbb Q(a^2)=\Bbb Q$ or $\Bbb Q(a^2)=\Bbb Q(a)$. The former is absurd because then $\Bbb Q(a)$ would be a degree $2$ extension with irreducible polynomial $x^2-a^2$.
So you know the degree of the extension $\Bbb Q(a^2)$ over $\Bbb Q$ is $3$ so let's find an irreducible polynomial $p$ of degree $3$ with $p(a^2)=0$
$$p(x)=x^3+b_2x^2+b_1x+b_0$$ using the relation in $\Bbb Q(a)$ that $a^3=a+1$ substitute
$$\begin{split}p(a^2)&=a^6+b_2a^4+b_1a^2+b_0\\ &=(a+1)^2+b_2a(a+1)+b_1a^2+b_0\\ &=a^2(1+b_2+b_1)+a(2+b_2)+(b_0+1)\\ &=0 \end{split}$$ So setting $b_0=-1$ $b_2=-2$ and $b_1=1$ gives
$p(x)=x^3-2x^2+x-1$
$p$ is monic and $p(a^2)=0$ since no smaller degree polynomial $f$ can have $f(a^2)=0$ (this would give an intermediate extension) $p$ is minimal