Graph Math Input on different slide

I’m trying to get the math inputs from slide 2 to show up on slides 3 and 4. I can get the y-value to graph, but not the x-value. Can anyone help? Please and thank you in advance. (I should note that I want them to write the answer as x = -2 and y = 3, not just -2 and 3 in the input boxes.)

If you change your function for the vertical asymptotes to in terms of y, it will work. (Note: x=f(x) is equivalent to x=y)

function("f"):simpleFunction(input1.latex,"y")

Make sure to change in the graph as well: x=f(y).

Thank you so much! :smiley: