example xsquared for graphing