You want the equation of the tangent that has the same gradient.
So when the gradient is ...
When we have
So we have the gradient and a coordinate that lies on the tangent.
Put this information into , solve for the unknown , and then you will have the equation of the tangent.