let's recal the pythagorean theorem, where c² = a² + b², namely, the largest number squared is equal to the sum of the two smaller ones squared.
well, we can just start by say in A, looking the smaller sides, 3 and √9, if we squared both and add them up, do they give the largest one of √18?

so they all apply.