The length of a rectangular room is double of its breath. If the area is 512 square inches, what is the perimeter (in feet)?