To be congruent they have to be exactly alike. Same shape, same size. Let's look at same size.
The hypotenuse of one has to equal the hypotenuse of the other. So 10b = b + 36
Solve for b 9b = 36
b = 4
Same with that leg 9c = c + 16
Solve for c 8c = 16
c = 2
.