Linear equations in two variables