She has 24 feet of fencing to use to surround the garden. She plans for the garden to be rectangular and for the length to be twice as long as the width. Write and solve a system of equations to determine the dimensions of her garden.​