This worksheet will help with Piecewise functions. In order to change the graph, you NEED to input it in this format: if [x < #, first equation, second equation] You can change the #, first equation, and second equation for g(x). You can also change the #'s and the three equations for f(x).
The format for graphing Piecewise Functions uses an 'if' statement, you have the condition, then the result, then otherwise. Unfortunately, you cannot graph an inequality of: -1 < x < 4, GeoGebra can't quite do that yet.