If the area of a triangle with base x is equal to area of a square of 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.