The distance around a triangle is 24 centimeters. If two sides are equal and the length of the third side is 10 centimeters, what is the length of each of the other two sides?