You can put this solution on YOUR website!
you just need the coordinates of two points that lie one line to find the equation of that line
use y-intercept which is at (,); at origin
so, we already know :
to find a slope, use (,) and the point (,) which also lie on a line
then, your equation is: