then get that down to a single length.
You can use x and y for this.
Suppose x is the length of the larger wall.
Now you can write one variable in terms of the other.
That gets you down to one variable,
because the x is the same in both lines.
So is the y.
Can you continue?
Finally, you are asked for
so you can go another route
then use xy=12