linear equations and inequalities