I feel like I’m reaching my question quota limit over these last two days so my apologies…

Is there a way to take an expression like “x>5” that was given by a student through an input and test variables from the graph within the expression? [It almost feels like I’d need some kind of “find and replace” function to use on the student input.]

Like student moves points (a,0), (b,0) and (c,0) on the number line to 4, 5, and 6 and I check to see that all values work within the student expression. Right now I have the student expression graphing with the points showing so visually a student could see it isn’t working but that’s it.

My goal is to have some response text if the values on the number line don’t mesh with the inequality a student is entering. Essentially I’m wanting a way to compare the student entered inequality with the correct inequality.