Length of the land = 18 m
Width of the land = 15 m
The maximum length of each bed will be the greatest common factor of 18 and 15.
Factors of 18 = 1, 2, 3, 6, 9, 18
Factors of 15 = 1, 3, 5, 15
∴ HCF of 18 and 15 = 3
∴ The maximum possible length of each bed is 3 metres.