I have been trying to figure out this problem for hours with no luck.

There exist infinitely many primitive Pythagorean triples in which one of the legs is 8 (which means the difference between the other, longer, leg and hypotenuse is 8). Give the proof for this theorem and the three first triples, those with the shortest hypotenuse.