Horz and vertical asymptotes

I have been using this command

function(“f”):simpleFunction(input1.latex, “x”)

to take a student imputed function and graph it. I am working on an activity where I want them to enter the value for a Horz and Vert Asymptote. So I set it up where the input window says " x = " or “y =” and the student then inputs the constant.

How would I get those vert or horz lines to appear on the graph?
Thanks, Burton

My response here may be helpful: