x-22<17?
Not quite.
x could be 38.6
x-22<17
add 22 to both sides
x<39
x≤38 so it's 38 or less than that