The length of the garden corresponds to the 12 columns. There are 11 gaps between 12 trees. The total distance covered by the trees and gaps is 11 gaps × 2 m/gap = 22 m. Additionally, there is a 1-meter boundary on each of the two sides along the length. So, the total length = 22 m + 1 m + 1 m = 24 m.