How to solve? I tried but I found no answers.

Answer:
x=1
Step-by-step explanation:
Perimeter of the square is 4 times the side = 4*(4x-1)
Perimeter of Rectangle = 2 L + 2 W = 2*(2x+2) + 2*2x
4*(4x-1) = 2*(2x+2) +4x
16x-4= 4x+4+4x
16x-4 = 8x+4
16x-8x = 4+4
8x = 8
x = 8/8
x=1
Hope this helps!^^