This is a nice problem, and tkhunny's suggestion is a very good one. Don't miss the fact that since x^2+x+1 will be an integer, your k will not only be rational, but an integer (since the square root of an integer is always either an integer or irrational).
If you are still having trouble, it may be a good idea to tell us the context of the problem, which is more than just an ordinary algebra problem. What have you learned recently that might be of use? I'm guessing it might be either the quadratic formula, or the discriminant.
I've got a new math teacher and she gave us a new material about how to prove an expreesion is irational.
At this step i already know about quadratic formula and discriminant.
Back to this problem. I've got a nice idea as assuming that x^2+x+1 is a perfect square, so it can be expressed as (x+k)^2. The remaining term shoul be equal to 0, so we get that x can be expressed as (k^2-1)/(1-2k) where k should be an integer. So i trasnformed the main problem in a problem of type, find such a integer k, so the expression is integer, but at this step i couldnt proceed.
Back to the main method, today i got a knew ideea. So after writing x^2+x+1 as k^2, where k is integer, we can write this as
x^2+x=k^2-1 or x(x+1)=(k-1)(k+1).
There we analyze some variants:
1)If x=k-1, then x+1=k+1 or x=k, so there is no solutions
2)If x=k+1 then x+1=k-1 or x=k-2, so there is no solutions
3)If x=1, then x+1=(k-1)(k+1) or 2=k^2-1 or k^2=3, but we know that k is integer so also no solutions
4)If x+1=1, then x=0, so x=(k-1)(k+1) or k^2=1 or k=+-1, so x=0 is a valid solution
The last variant is if one of the parts is equal to 0, we get
x(x+1)=0, there can be 2 cases, if x=0 (this one we verified in the 4 point) and the second case if x+1=0, the x=-1 and k=+-1 so this is also a valid solution.
So i got the answer -1 and 0, that looks like correct,
but at this step i dont know if this is a good solution or there are no more variants.