Find the slope of tangent to the curve y=x^3-x+1 at the given point whose x-coordinate is 2.