The perimeter of an equilateral triangle is 24 centimeters. Each side of the triangle measures 2.5 centimeters more than the length of each side of a square. The length of each side of the square is centimeters, and the length of each side of the triangle is centimeters. The perimeter of the square is centimeters.