My next challenge is to write code to, first of all, generate simultaneous equations and to then plot them on a set of axes. I’m hoping that I can reuse my earlier code to draw the axes, but I’m not currently sure about the best approach to generate the pairs of equations.

I know that if the lines are not parallel they will eventually cross each other, but I want to make sure that they cross within a given range (-10 and 10 for both x and y).