Is this problem correct?

5x+6<31= is the answer : x<5

Right.