Generates tables of values either y=ax or y=x+b and checks if the user input the corresponding equation.