Try this: Add up the given widths of the first 3 bookcases, in cm. This will be a constant. Now write "-2w" after that sum, to represent two more bookcases of unknown widths w. Finally, use the inequality symbol (less than or equal to) and the given wall length to complete this inequality.
Solve it for w, writing your answer as another inequality.