The area of a squared lawn and rectangular vegetable garden are equal.The perimeter of lawn is 24 m and its side is twice the breadth of the garden.find the length of the garden.