need help plz will give brainy not sure if i got it right

Answer:
Neither triangle
Step-by-step explanation:
Define an irrational number that cannot be written as a fraction (denominator of 1 or 0 does are excluded).
Both triangles are good examples of common Pythagorean triples.
The Pythagorean theorem states that for any right triangle, the following is true:
[tex]a^2+b^2=c^2[/tex], where [tex]a[/tex] and [tex]b[/tex] are two legs of the triangle and [tex]c[/tex] is the hypotenuse.
Using this theorem we can solve for the hypotenuse of both triangles:
Triangle 1:
[tex]3^2+4^2=h^2,\\h^2=25,\\h=5\:\text{(rational)}[/tex]
Triangle 2:
[tex]0.5^2+1.2^2=h^2,\\h^2=1.69,\\h=1.3\:\text{(rational)}[/tex]