Answer:
y = mx + c
Explanation:
Take any two point on the line, mark it as (x1,y1) and (x2,y2)
calculate m - slope = (y2-y1)/(x2-x1).
c is constant and it can be found out by putting any point value i.e (x,y) in the equation y=mx+c
therefore your final equation can be y =m x+c