Source: https://brownhhs.weebly.com/uploads/5/1/5/1/51516715/_1__pythagorean_theorem_and_its_converse_notes.pdf