Since you're solving for two variables, you need two equations.

For the first, perimiter is twice the length plus twice the width.

For the second, the problem states that the length is twice the width.

Isolate length (using the second equation), then plug it in to the first equation to solve for width. Then use the second equation to solve for length.