How to draw graph of y=1-x/pi.

is that

1 - x/pi
or
(1-x)/pi

Just pick two values for x, calculate y, plot the two points and draw a line through them.

Or, go to any online graphing site and type it in. pi is just a number, close to 3.