Consistency and Inconsistency of Linear Equations in Two Variables