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