Changing equations into y=mx+c form to graph them and find the solution to the simultaneous equations