Press X to set x, and press y to set y. For f(x) and g(x) you can create your own function in the code. (an example is preprogrammed in the code). f(g(x)) and g(f(x)) will calculate automatically.