I am not exactly sure if graph is the right name for this, but we have gotten the task of making this in flash:FLASH.jpg (Drawing is home made btw)

The description says: "Make a program/application which draws the graph for y = x^2

I am completely clueless about this. This is a task we got in class. Our teacher departed just moments ago for a sick kid of her's, so offline help seems impossible at the moment. Where to start? What to do further? Any pointers will be very much appreciated.