In the given right-angled triangle ABC, ∠B = 90°. Find the value of x.

In ΔABC, ∠B = 90°
AB2 + BC2 = AC2 (By Pythagoras property)
(5)2 + (x – 3)2 = (x + 2)2
⇒ 25 + x2 + 9 – 6x = x2 + 4 + 4x
⇒ -6x – 4x = 4 – 9 – 25
⇒ -10x = -30
⇒ x = 3
Hence, the required value of x = 3