CL For one math input to be correct based off one before it

I am trying to code a question where one math input is correct based off a math input from before it on the same slide… for example we are doing slope and i want to ask what the rise is in question 1 and then ask what the run is on math input 2… but I want the run to be based off of what they put in for the rise to make sure they are following the slope formula correctly… i can not figure out how…

thank you in advance

May help to share your slide. If they’re entering a fraction, you may want to search for some pattern matching help with parsing fractions.