Solving a system of linear equations of the form y = mx plus b