Joey is building a doghouse. He measures the lengths of two sides and the hypotenuse to make sure the boards create a right triangle.