Actually Welcome to the Concept of the Inequalities.
so we get as,
(w+6)/2 < 5
w+6 < 10
=> w < 10-6
=> w < 4
so the answer is,
w < 4
7.6m questions
10.1m answers