Asif has a square garden with a perimeter of x feet. David has a rectangular garden with a perimeter of x feet and the length is I fool longer than the weight in the ratio of 5: 3: 2:2 respectively. How many kgs of coffee are there in 18 kgs of the mixture?