An isosceles triangle has two sides of equal length. The third side is 5 less than twice the length of one of the other sides. If the perimeter of the triangle is 23 cm, what is the length of the third side?
Explain how you would define a variable for this problem.