Answer:
x=1
Step-by-step explanation:
perimeter of the square is [tex]4(4x-1)=16x-4[/tex]
perimeter of the rectangle is [tex]2(2x+2) + 2(2x)= 4x+4+4x=8x+4[/tex]
As rectangle and square have the same perimeter, we get that:
[tex]16x-4=8x+4\\16x-8x=4+4\\8x=8\\x=\frac{8}{8} \\x=1[/tex]