A square and an equiangular triangle have the same perimeter. If the area of the square is 144 cm2, what is the length of one side of the triangle