The code that ensures the left-hand side (lhs) is correct is this:
f1=simpleFunction(parseInequality(input1.latex).lhs)
check1=f1.evaluateAt(0)=35 and f1.evaluateAt(1)=35.8
The check evaluates the left-hand side expression for 2 values of x (since for a linear expression that is enough to ensure uniqueness). If you want to change the inequality, you need to change the check part. I hope this helps.