Hi,
thank you for your question!
I suggest you consult this explanatory sheet. It explains in detail how to find the equation of a line.
Here is the link to the explanatory sheet :
Feel free to ask if you have any other questions.
Deleting this explanation will also permanently delete the question. Do you want to continue?