So the length is 2 times the width, which means you double the length when adding. To find the perimeter of a rectangle, you add the sides.
l= length= 2w
w= width
l + w= 24
Substitute in the same variable as width
2w+w=24
3w=24
Divide both sides by 3
w=8 width
2w= 2(8)= 16 = length
Hope this helps!! :)