You have to choose which side of the triangle you are making your base.
Then you have to follow the rule that the base is the larger number and the other two sides are smaller numbers but their sum is greater than the base. So is you base was the side that equaled 10 in. then you third side has to equal minimum 3 in. and maximum 9 in. So you would just write out a linear equation.