A square piece of fabric has an area of (9x2 + 24x + 16) square inches. The length of each side of the fabric is (cx + d) in., where c and d are whole numbers. Find an expression for the perimeter of the piece of fabric. Then find the perimeter when x = 2.