okay! the perimeter is the total we're going to be constructing an equation for, so it'll be on the right side of the equals sign.
? + ? = 18
now, we know that it's twice (or 2x) as long as it is wide. this can be represented by 2l, or 2x. the variable doesn't matter.
2l + ? = 18
what about the other unknown? well, the width is unaffected in this equation. so all you have to do is substitute it in!
2l + w = 18
this is the equation we come up with given the limited information.
if this helped, make sure to thank me and rate me, and maybe give me brainliest if i /really/ helped! good luck!