500
A rectangle has a width of x centimeters and a perimeter of 8x centimeters. A square has sides of length that are 1/4 that of the length of the rectangle. Find the length of the rectangle and the perimeter of the square.
length of rectangle = 3x cm
perimeter of square = 3x cm