A straight line has equation of the form y=ax+b. The line passes through the points with coordinates(2,4)and(−1,3). Write down the simultaneous equations which must be satisfied by a and b. Solve the equations and hence find the equation of the line.