A bratty kid rose her hand in the air and I called on her. "24." she said. When I asked her how she got her answer, she said, "Easy. I added the three sides together."
I was going to tell her she was wrong when I noticed that it worked for my second triangle too.
The bratty kid had a smug look on her face.
What is the sum of all the lengths of the two right triangles I drew on the board, assuming that one side can be no greater than 20?