"The shorter leg is 5 meters shorter than the longer leg", we can express this statement as follows
![a=b-5](https://img.qammunity.org/2023/formulas/mathematics/college/a70gvx725okw4ucunds6jcy4g9geijjc60.png)
Where a is the shorter leg and b is the longer leg.
"The hypotenuse is 5m longer than the longer leg", we can express this statement as follows
![c=b+5](https://img.qammunity.org/2023/formulas/mathematics/college/5qbgvk4gw1d4ap7gzxs05qr2hhea82dm3r.png)
Where c is the hypotenuse and b is the longer leg.
We have to use Pythagorean's Theorem
![c^2=a^2+b^2](https://img.qammunity.org/2023/formulas/mathematics/high-school/udh1dsx7kwgfauditnn86pp2qhoycm1tvv.png)
First, let's combine the first equation with the last one
![c^2=(b-5)^2+b^2](https://img.qammunity.org/2023/formulas/mathematics/college/jwt2nxm7fm3ukjkkhib112h2iedetwfxtp.png)
Then, we solve the square binomial
![c^2=b^2-10b+25+b^2](https://img.qammunity.org/2023/formulas/mathematics/college/i03dlt0oxh8ckze9f3ric1t413nsnv85pn.png)
Let's combine terms
![c^2=2b^2-10b+25](https://img.qammunity.org/2023/formulas/mathematics/college/rb17u18opccw3ezcbs48i5uijyutvucu7m.png)
Then, we combine the second equation with the last one above.
![(b+5)^2=2b^2-10b+25](https://img.qammunity.org/2023/formulas/mathematics/college/rfd4fqs09udit9nydv0e2in5x43nrcg1tf.png)
Let's solve the square binomial.
![b^2+10b+25=2b^2-10b+25](https://img.qammunity.org/2023/formulas/mathematics/college/dwwcka7i06axmv2z6jo9f0faxfpqi3cp32.png)
Now, we solve for b
![\begin{gathered} 0=2b^2-b^2-10b-10b+25-25 \\ 0=b^2-20b \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/college/xrbutuoz1rra17tlpdlsj7p60f46lj3mpk.png)
Let's extract the greatest common factor b
![b(b-20)=0](https://img.qammunity.org/2023/formulas/mathematics/college/nodymq3ueqeshay23d3plsyvngyvke8wdx.png)
This means b = 0 and b = 20, where the solution that makes sense to the problem is b = 20.
Now, we find the other sides.
![c=b+5=20+5=25](https://img.qammunity.org/2023/formulas/mathematics/college/q548wdolgxrw8t42g4vhoed22e9od0m1gx.png)
![a=b-5=20-5=15](https://img.qammunity.org/2023/formulas/mathematics/college/1cdff2ibw02p76tnsfqebrjgad2prop4i2.png)
Hence, the shorter leg is 15m, the longer leg is 20m, and the length of the hypotenuse is 25m.