# How do you evaluate x^2+2x-1 when x=2?

All you need to do is replace $x$ with $2$ since it has been given $x = 2$.
x^2-2x-1 = (2)^2+2(2)-1 = 4+4-1 = 7