Click the green flag. Drag the variable X slider to the minimum value of the range (-2). Press the spacebar to draw the graph. (There is probably no better way to code this graph. The fine line grid back drop makes it possible, and only with Scratch2 and READY STEADY CODE.)