To know if he can make a right triangle with those lengths, we have to use Pythagorean's Theorem.
This theorem associates the square of the hypothenuse (longer side) with the length of both legs. Let's replace the given values to see if they satisfy the theorem.
As you can see, the given lengths do not satisfy the theorem.
Hence, he cannot make a right triangle.