4x - 5 < -17 <---- move the -5 to the other side
4x < -17 + 4
4x < -13 <--- divide both sides by 4
x < -13/4
------------------------------------------
5x+6>31
5x + 6 > 31 <----- move the 6 to the other side
5x > 31 - 6
5x > 25 <------ divide both sides by 5
x > 5