PLEASE HELP ME ANSWER THIS QUESTION.... 20 POINTS

Answer is Step-by-step explanation:
The two shorter sides are the legs of the right triangles. Both are given for triangle B. Use Pythagorean Theorem or pythagorean triples(shortcut/special case) to show the missing side of Triangle A is also 5.
leg^2+ leg^2 = hyp^2
x^2 + 12^2 = 13^2
x^2 + 144 = 169
subtract 144.
x^2 = 25
square root both sides.
x = 5
The missing side of Triangle A is 5, same as triangle B.
Just to really show it. Calc the missing side of triangle B
5^2 + 12^2 = h^2
25 + 144 = h^2
169 = h^2
squareroot both sides.
13 = h
The hypotenuse of both triangles is 13. All the measures of all the corresponding sides are the same for these two triangles.
Hope this helps! Please mark Brainliest! tysm!