Could someone please help me prove, that the slope in a straight line is

m = (y1-y2)/(x1-x2)

using the pythagorean method? I get a feeling that it's really simple but I'm feeling stupid today.

Thanks!