.
As other tutor instructed you, you have this inequality
x + 2x + 21 <= 57 (1)
for the "second" side length x.
From this inequality, you immediately get
3x <= 57 - 21 = 36, so x <= 36/3 = 12.
It answers the problem's question, but it is not a COMPLETE DESCRIPTION of possible triangles.
For example, the sides 1, 2 and 21 satisfy the basic given inequality (1),
but they DO NOT FORM any triangle - since they do not satisfy another triangle inequality
x + 2x > 21. (2)
The inequality (2) requires 3x > 21, which implies x > 7.
So, only if the compound inequality holds
7 < x <= 12,
the described triangle does exist.
---------------
The lesson to learn from my post is THIS :
When you solve problems for triangle side lengths, you must satisfy and check ALL TRIANGLE inequalities.