For this case we know that the perimeter is given by:
![P=y+9+2y+4y-1](https://img.qammunity.org/2023/formulas/mathematics/college/xgntv3pfccrtf8um6a85cg0y7cp68l8dl2.png)
And if we solve the algebra we got:
![P=7y+8](https://img.qammunity.org/2023/formulas/mathematics/college/gsyohbsypagkhabwj7avjc21jpm7z77it0.png)
And we know that the perimeter is equal to the perimeter of a square of 9 of lenght and we know that the perimeter is:
![P=4x=4\cdot9=36](https://img.qammunity.org/2023/formulas/mathematics/college/3htakllit5vrvngjcthxwu5htatwxyqd5v.png)
We can set up the perimeter equal to this number we got:
![36=7y+8](https://img.qammunity.org/2023/formulas/mathematics/college/ss9lsc3ndvhlk5mwndfz5xfrcddwxe19x8.png)
Now we can solve for y we got:
![y=(36-8)/(7)=(28)/(7)=4](https://img.qammunity.org/2023/formulas/mathematics/college/z8vcbkbw1576cu1010g7j11ub4owm45vyi.png)