Let's say we have a triangle with three side lengths.
This triangle is really flat. So much so that you could put it on a number line.
It literally cannot get any flatter, and the largest side literally cannot get any bigger.
Well, the smaller two sides would <em>add <u />up</em> to equal the third.
From this we have realized something: The largest side of any triangle cannot be larger than the sum of the other two.
Let's think back to our problem.
What are the possibilities for

?
If

was the biggest side, it couldn't be any bigger than 40.
If

was a smaller side, then that would make 25 the bigger side.
15 and

together can't be any bigger than 25, so

has to be less than 10.
Since it's a scalene triangle, x cannot be 15 or 25 either, so add that too.

<em />