help!! i need help asap! help is very much appreciated

Answer:
Step-by-step explanation:
A and B are the side lengths. C is the hypotenuse (the longest side).
For triangle A)
a^2+b^2=c^2
(it won't let me add exponents but you get the point)
4^2+2^2=c^2
8+4=c^2
12=c^2
c=square root of 12
For B)
a^2+b^2=c^2
2^2+5^2=c^2
4+10=c^2
After solving, it doesnt
add up to 45