Let the longer length of the triangle be
[tex]=x[/tex]
Since they are consecutive integers, The length of the hypotenuse will be
[tex]=x+1[/tex]
The length of one of the legs is
[tex]=17\text{inches}[/tex]
The diagram below represents the right-angled triangle
Concept: To solve this question, we will make use of the Pythagorean theorem
Step 1: State the Pythagorean theorem
[tex]\begin{gathered} \text{hypotenus}^2=\text{opposite}^2+\text{adjacent}^2 \\ \text{where,} \\ \text{Hypotenus}=(x+1)\text{ inches} \\ \text{opposite}=x\text{ inches} \\ \text{adjacent}=17\text{ inches} \end{gathered}[/tex]
Step 2: Substitute the values in the formula above
[tex]\begin{gathered} \text{hypotenus}^2=\text{opposite}^2+\text{adjacent}^2 \\ (x+1)^2=x^2+17^2 \end{gathered}[/tex]
Expand the brackets above, we will have
[tex]\begin{gathered} (x+1)^2=x^2+17^2 \\ (x+1)(x+1)=x^2+289 \\ x(x+1)+1(x+1)=x^2+289 \\ x^2+x+x+1=x^2+289 \\ x^2+2x+1=x^2+289 \end{gathered}[/tex]
Collect similar terms, we will have
[tex]\begin{gathered} x^2+2x+1=x^2+289 \\ x^2-x^2+2x=289-1 \\ 2x=288 \\ \end{gathered}[/tex]
Divide both sides by 2
[tex]\begin{gathered} \frac{2x}{2}=\frac{288}{2} \\ x=144 \end{gathered}[/tex]
Hence,
The longer leg = 144 inches
The hypotenuse of the triangle was = 145 inches