Margot is sewing a ribbon on a seam along the perimeter of a square pillow. The side length of the pillow is 2x^2+1 inches, and its perimeter is 4(2x^2+1) inches. If x=3.5, how much Robbin does she need?