A rectangular garden is to be twice as long as it is wide.