Find a basis for $\mathbb{Q}(\sqrt{2}+\sqrt{5})$ over $\mathbb{Q}(\sqrt{5})$.
I used the following facts:
- $\mathbb{Q}(\sqrt{2}+\sqrt{5}) = \mathbb{Q}(\sqrt{2},\sqrt{5})$, so a tower of fields is $\mathbb{Q}(\sqrt{5})\subset \mathbb{Q}(\sqrt{2}) \subset \mathbb{Q}(\sqrt{2},\sqrt{5})$.
- Minimal polynomial for $\sqrt{2}$ over $\mathbb{Q}(\sqrt{5})$ is $x^{2}-2$, so $[\mathbb{Q}(\sqrt{2}):\mathbb{Q}(\sqrt{5}]=2$.
- Simple extension of $\mathbb{Q}(\sqrt{2})$ is $\mathbb{Q}(\sqrt{2})(\sqrt{5})$.
- Minimal polynomial for $\sqrt{5}$ over $\mathbb{Q}(\sqrt{2})$ is $x^{2}-5$. Then $[\mathbb{Q}\sqrt{2},\sqrt{5}):\mathbb{Q}(\sqrt{2})]=2$.
Therefore, $[\mathbb{Q}(\sqrt{2}+\sqrt{5}):\mathbb{Q}(\sqrt{5})]=4$ and a basis is $\left \{ 1,\sqrt{2},\sqrt{5},\sqrt{10}\right \}$.
Are these facts valid though?
There is no such tower of subfields as $\mathbb{Q}(\sqrt{5})\subset\mathbb{Q}(\sqrt{2})\subset\mathbb{Q}(\sqrt{2},\sqrt{5})$, because the leftmost inclusion doesn't hold.
You should instead consider $\mathbb{Q}\subset\mathbb{Q}(\sqrt{5})\subset\mathbb{Q}(\sqrt{2},\sqrt{5})$. However, you claim that the minimal polynomial of $\sqrt{2}$ over $\mathbb{Q}(\sqrt{5})$ is $x^2-2$ without proving it. Once you prove it, together with the fact that $x^2-5$ is the minimal polynomial of $\sqrt{5}$ over $\mathbb{Q}$, you get $$ [\mathbb{Q}(\sqrt{2},\sqrt{5}):\mathbb{Q}]= [\mathbb{Q}(\sqrt{2},\sqrt{5}):\mathbb{Q}(\sqrt{5})] [\mathbb{Q}(\sqrt{5}):\mathbb{Q}]=2\cdot2=4 $$
So your proof jumps over two facts:
Both facts can be easily proved.
Clearly $\mathbb{Q}(\sqrt{2}+\sqrt{5})\subset\mathbb{Q}(\sqrt{2},\sqrt{5})$. On the other hand $$ \frac{1}{\sqrt{5}+\sqrt{2}}=\frac{\sqrt{5}-\sqrt{2}}{3}\in\mathbb{Q}(\sqrt{2}+\sqrt{5}) $$ so also $\sqrt{5}-\sqrt{2}\in\mathbb{Q}(\sqrt{2}+\sqrt{5})$. Hence $\sqrt{2}$ and $\sqrt{5}$ both belong to $\mathbb{Q}(\sqrt{2}+\sqrt{5})$. This proves the reverse inclusion.
The polynomial $x^2-2$ has no root in $\mathbb{Q}(\sqrt{5})$, hence it is irreducible (having degree $2$). Indeed, if $$ (a+b\sqrt{5}\,)^2=2 $$ we obtain $a^2+5b^2=2$ and $2ab=0$. This is a contradiction.
Therefore $\{1,\sqrt{2}\}$ is a basis for $\mathbb{Q}(\sqrt{2},\sqrt{5})$ over $\mathbb{Q}(\sqrt{5})$, which in turn has basis $\{1,\sqrt{5}\}$ over $\mathbb{Q}$.
The standard proof of the dimension theorem tells us that $$ \{1,\sqrt{2},\sqrt{5},\sqrt{2}\sqrt{5}\}=\{1,\sqrt{2},\sqrt{5},\sqrt{10}\} $$ is a basis for $\mathbb{Q}(\sqrt{2},\sqrt{5})$ over $\mathbb{Q}$.