A rectangle measuring 6 inches by 7 inches is centered inside a larger rectangle such that the perimeters of the two rectangles are separated by a uniform distance of x inches. If the difference between the areas of the two rectangles is 168 square inches, what is x?