AC, a diagonal of the rectangle ABCD, measures 5 units. The area of the rectangle is 12 square units. What is the perimeter of the rectangle?