Translate your linear equations and restricted domains into a code that Geogebra will read as a line segment.