solveInequality() solves for constant