Answer:
For right angle triangle,
we use Pythagoras theorem that is:

c =

For question 1:
c = ?
a = 40
b = 9
putting them in formula,
c =

c = 41
For question 2:
c = ?
a = 12
b = 13
putting them in formula,
c =

c = approximately 17.69181
For question 3:
c = 35
a = 20
b = ?
putting them in formula,


1225 = 400 +

= 1225 - 400
= 825

b = 5

For question 4:
c = 37
a = 20
b = ?
putting them in formula,


1369 = 400 +

= 1369 - 400
= 969
Taking square root on both sides
b = 31.12
Hope it helps.