Let the shorter side of triangle =x cm
The other side of the triangle =(x+5)cm
The area of reactangle
(x+5)(x)=150
⇒ x2+5x−150=0
⇒ (x+15)(x−10)=0
⇒ either x=−15 or x=+10
Since the side cannot be negative
Therefore the value of c=−15 is negligible
When x=10cm, then the other side =10+5=15cm