Two triangles than make the whole triangle are proportional then
![15\longrightarrow30](https://img.qammunity.org/2023/formulas/mathematics/college/af006siw7t85ks0lmyrowr3gt7vrvniehx.png)
and the upper side of the left triangle is x
we can calculate the lenght of upper triangle
![36-15=21](https://img.qammunity.org/2023/formulas/mathematics/college/yvch0gonppym9tuvxl8kkj466dh0gl3e0y.png)
then
![21\longrightarrow x](https://img.qammunity.org/2023/formulas/mathematics/college/w6mrpxe35iwuotiaekbl23mqc3741a78li.png)
we join the relations
![\begin{gathered} 15\longrightarrow30 \\ 21\longrightarrow x \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/college/yvcu242ty7uk5h9oml870f9c4677iyk543.png)
we use cross-multiplication. The product of 21 by 30 dividing between 15 is equal to x
![\begin{gathered} x=(21*30)/(15) \\ \\ x=42 \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/college/56glray8u18izo0phdd11sho9rrzog8zwc.png)
the value of x is 42 units