This famous puzzle requires you to use the information to limit your search. We know when De Morgan died, so when he was born wasn't hundreds of years before, was it?! That helps you think about what would be reasonable for $x$ and $x^2$.
Why not try an age and see what happens?
Remember that $x^2$ means $x \times x$.