A square and a triangle have equal perimeters of 24 cm. The base of the triangle is 10 cm, and its height is 6 cm. What is the area of the square? Let's think step by step and output the final answer within \boxed{}.
user