Help me with this and give the correct answer and get 25 points

Answer:
x =6.0
The base is 6x = 35.8
The side is 3x = 17.9
Step-by-step explanation:
We can use the pythagorean theorem
a^2 + b^2 = c^2
(6x)^2 +(3x)^2 = 40^2
36x^2 + 9x^2 = 1600
Combine like terms
45x^2 = 1600
Divide each side by 45
45x^2 /45 =1600/45
x^2 =35.555555555
Take the square root of each side
sqrt(x^2) = sqrt(35.555555555)
x =5.96284794 = 6.0
The base is 6x = 6*5.9628479 =35.77708 = 35.8
The side is 3x = 3*5.9628479 =17.88854382= 17.9
Answer:
x = 6.0
3x = 17.9
6x = 35.8
Step-by-step explanation:
Using pythagoras theorem
40² = (3x)² + (6x)²
1600 = 9x² + 36x²
1600 = 45x²
x² = 320/9
x = 5.96284794
3x = 17.88854382
6x = 35.77708764