John enlarged one side of his square flower bed by 8 ft to make it into a rectangle. The area of the new flower bed is 3 times the area of the old one. What was the length of the side of the old flower bed.