Which of the following measurements could be the side lengths of a right triangle?
24 in, 36 in, 40 in
20 in, 32 in, 40 in
24 in, 32 in, 48 in
24 in, 32 in, 40 in