I want to take a student’s function from a math input and graph it on a graph, but I want the function variables to be x(t), not f(x).

I think this is an example of what you’re after: