Is it possible to find the equation of a straight line given two coordinates of that line.

I have a problem I need to solve involves finding the area between a curve and a straight. But I am given only the equation of the curve, I have managed to find two coordinates of the line from differentiating the curve. But I need to know the equation of the line to differentiate it.