Hi all, I'm working through some problems at the moment and I am a little stuck on an algebraic rearrangement of a coordinate geometry proof. The problem is as follows:
We have a line passing through two points A: (x1, y1) and B: (x2, y2) (where x1 doesn't equal x2). Let P: (x, y) be any point on the line. We can define the equation of the line as:
Putting this into the form y = mx +c gives
 m= ((y2-y1)/(x2-x1)) ... I get this, but then it says that
 c= (((x2y1)-(x1y2))/(x2-x1)) ... I don't understand how we arrive at this expression from rearranging , could someone please help?