Consider the given sides of right angle 5x+2,5x,3x−1
Using the Pythagoras theorem
(5x+2)2=(5x)2+(3x−1)2
25x2+4+20x=25x2+9x2+11−6x
−9x2+26x+3=0
9x2−26x−3=0
9x2−27x+x−3=0
9x(x−3)+1(x−3)=0
(x−3)(9x+1)=0
When,
9x+1=0
x=−19
It is a negative value. so ignore it
When,x−3=0
Then x=3
Put x=3 in these given sides5x+2,5x,3x−1, we get
5×3+2,5×3,3×3−1
17,15,8
Hence these are the required value of sides of right angle triangle