The length of a rectangular room is double of its breadth.If the area is 512 square inches , what is the perimeter ?