The Pythagoras' theorem would be applied for each triangle.
The theorem states as follows;
For triangle 1, the equation is
For triangle 2, the equation is
For triangle 3, the equation is
7.8m questions
10.5m answers