recall that using the pythaogorean theorem, which is only for right-triangles, the longest leg squared is the sum of the other two squared, namely c² = a² + b², now, if those units above are of a right triangle, then 25² = 7² + 24².
do they check out? if they do, then yes, you can make a right-triangle, if not, they nope.