let be the equation of the tangent line we are looking for.

First, you know the line passes through the point (5,2) -- so you can put x=5, y=2 and get your first equation.

Second, you know the line istangentto the curve at the point (5,2) -- that means that they have the same slope at x=5, or more precisely that .

Can you follow with the rest?