There is a square and a rectangle, and the ratio of the breadth of the rectangle, length of the rectangle and the side of the square is 8:9:9, respectively. Find the perimeter of the square if the difference between the area of the rectangle and the area of the square is 144 cm2