If the area of a triangle with base x is equal to the area of a square with side x, then the altitude of the triangle is ____.
Find the altitude of a triangle if its area with base 24 cm is equal to the area of a square with side 24 cm.