A right triangle has legs of length 6 and b, and a hypotenuse of length c. The perimeter of the triangle is 15. Compute c.
\(6+b+c=15\)
\(36+b^2=c^2\)
\(c=\sqrt(36+b^2)\) that is 36 and b^2 in the square root
\(c=6+b\)
\(6+b+6+b=15\)
\(12+2b=15\)
\(2b=3\)
\(b=1.5\)
\(c=15-7.5\)
\(c=7.5\)
Someone check my work plz maybe it is wrong and guest got a different answer so idk whose is right