In order to calculate the value of each missing variable, we need to know that the area of a square is given by the length of its side squared.
So, for the yellow triangle, we have:
![\begin{gathered} \text{Area}=\text{side}^2 \\ 9=\text{side}^2 \\ \text{side}=3 \end{gathered}](https://img.qammunity.org/2023/formulas/physics/college/at5uqphq16tpmqv4ujvzqna6mgfz45svht.png)
For the blue square:
![\begin{gathered} 16=s^2 \\ s=4 \end{gathered}](https://img.qammunity.org/2023/formulas/physics/college/rdijvrixiacqd75nnq2unk0egoh84wif5s.png)
Now, we can use the Pythagorean Theorem to find the value of b:
![\begin{gathered} b^2=3^2+4^2 \\ b^2=9+16 \\ b^2=25 \\ b=5 \end{gathered}](https://img.qammunity.org/2023/formulas/physics/college/aa32w19fptx9it9ogqil370ghixw6pbi86.png)
Now, for the area of the red square:
![\begin{gathered} a=b^2 \\ a=5^2 \\ a=25 \end{gathered}](https://img.qammunity.org/2023/formulas/physics/college/o2bjvtwqzuy7inqijx6v63ohig3gh75rv4.png)
Doing the same for the other figure, we have:
![\begin{gathered} \text{pink:} \\ 144=s^2\to s=12 \\ \text{green:} \\ 81=s^2\to s=9 \end{gathered}](https://img.qammunity.org/2023/formulas/physics/college/d2lrg743er6hct135uqvwm7hwbfilbgg66.png)
The area of a right triangle is half the product of the legs, so let's calculate the missing leg (that is, the value of c) using the Pythagorean Theorem:
![\begin{gathered} 12^2=9^2+c^2 \\ c^2=144-81 \\ c^2=63 \\ c=7.94 \\ \\ d=(9\cdot7.94)/(2) \\ d=35.73 \end{gathered}](https://img.qammunity.org/2023/formulas/physics/college/w81xt0paqbftog1oww7gbb0nvewiq97yor.png)