Given the information about the right triangle we have the following:
since we have that the longer leg is 7cm more than the shorter leg, then:
and also the hypotenuse is 14 cm more than the shorter leg, therefore:
with these two expressions, we can find the value of the shorter leg:
we have then that a=21 or a=-7. We choose a=21 since distances cannot be negative. Now we can find the value of b and c and check if they match using the pythagorean theorem again:
therefore, the sides of the triangle should be 21 cm, 28 cm and 35 cm long