The length of the other two sides is 10 and 35 respectively.
<h3>What is a ratio?</h3>
A ratio is a quantitative relation showing the comparison between two or more numbers. It can also be written in the fractional form where the first part is the numerator and the second part is called the denominator.
From the given information:
- The sides of the triangle = 2:7:8
- The total sides of the triangle = 2+7+8 = 17
We are being told that the longest side is the triangle is equal to 40.
i.e.
x = 85
Now for the other two sides 2 and 7, their length is as follows.
Therefore, we can conclude that the length of the other two sides is 10 and 35 respectively.
Learn more about ratios here:
brainly.com/question/2328454