What’s the value of x?

Answer:
#1: 15
#2: 5
Step-by-step explanation:
#1 explanation
a^2+b^2=c^2
12^2+9^2=c^2
We are trying to find the hypotenuse (the slanted side)
144+81=c^2
225=c^2
The square root of 225 is 15
#2 explanation
a^2+b^2=c^2
12^2+b^2=13^2
We need to find one of the leg(s)
144+b^2=169
169-144=25
25=b^2
Square root of 25 is 5
Hope this helped! Please mark brainliest!
I'm 97% sure this is correct i did the lesson a couple weeks ago. :D