Open the "Compound Function" feature on your calculator.
Input the inner equation, g(x).
Input the outer equation, f(x).
Select "Graph."
Plug in a value for the variable x in the inner equation, g(x).
Calculate g(x) based on the value and then input that answer into the outer equation, f(x).
Calculate f(x) and plot the result. For example, if you use x=1 and get f(g(x))=0, plot (0,1).
Continue inputting values in this manner until you have calculated enough points to graph the compound variable.