A square piece of fabric has an area of 16x² + 40x + 25 square inches. The length of each side of the fabric is cx + d inches where c and d are whole numbers. Find the perimeter, in inches, when x = 2.​