Alternatively...
Pick a point P(a, b) in the first quadrant of a graph, and join it up to the origin O. Then in the second quadrant, draw a line from the origin passes through the point Q(-b, a). Let the gradient of OP be m1, and the gradient of OQ be m2
so..
m1 = b/a
m2 = -a/b
so m1 x m2 = b/a x -a/b
= -ab/ab
= -1
It'll be clearer if you draw a diagram but thats the basic idea.