Answer:
10 ≤ x ≤ 19
Step-by-step explanation
The sum of the three lengths is 9 + 12 +x = 21 + x
We know the sum ranges from 31 to 40
So we get the inequality
31 ≤ 21 + x ≤ 40
Subtracting 21 from each part of this inequality give
31-21 ≤ x ≤40-21
10 ≤ x ≤ 19