The red point D shows the function value of [math]g(h(x_0))[/math]. Move [math]x_0[/math] along the x-axis to get the graph of this composed function. Try to explain how this construction works.
Change g(x) or h(x) by entering e.g. "h(x) = x^3" into the input bar. Use Shift+Drag to move the coordinate system and your mouse wheel to zoom in/out.