You can put this solution on YOUR website! By the Triangle inequality theorem, any two sides of a triangle must be greater than the third.
So, the third side must be > 15 so as 6 plus 15 > 21.
The third side must be < 27, so the sum of 6 and 21 is greater than the third side.
21 < x < 27.