As the x value of the second point gets closer and closer to 1, the slope gets closer and closer to 2. We say the limit of the slopes of the secant is 2. This is the slope of the tangent line.
To write the equation of the tangent line use the point-slope formula