The length of a rectangle is twice its width. The perimeter of the rectangle is 24 inches. Write a system of equations in 2 variables. Use substitution to solve the problem.

Equation 1:
Equation 2:
What is the area of the rectangle?