If 1 - sqrt 2 is a root....so is 1 + sqrt 2
And
If 2 + sqrt 5 is a root.....so is 2 - sqrt 5
We have
[ x - ( 1 - sqrt 2) ] [ x - (1 + sqrt 2) ] [ x - (2 +sqrt 5) ] [ x - ( 2 - sqrt 5)]
This is a little tedious to expand (but not impossible )....I'll use WolramAlpha here to help out
f(x) = x^4 - 6 x^3 + 6 x^2 + 6 x + 1