John worked out the problem below but got the wrong answer:
X + 18 < 22
X + 18 + 18 < 22 + 18
X<40
Explain his mistake and correct the problem for him.
Your answer: