I am kind of struggling to understand how the slope is derived in the following problem:

"Find the equation of the tangent line to the curve y = x^2 through the point (7, 49)."

The answer is that the slope is 2x but I don't understand how they got there since there is only one set of points given.

Thank you for the help,

Alex