equation of a line when any one point and slope are given

We can clearly see a line ‘a’ whose equation is y=mx +c. We can change the values of m (slope of this line) and (x1, y1), the co-ordinates of the given point A through which this line passes using their corresponding slide bars. Observe how the position of this line changes as we change the values of m, x1 and y1