A rectangle has a length of x and a width of 5x^3 + 6 - x^2. Find the perimeter of the rectangle when the length is 7 feet.