To make a canopy, in order to ensure the strength, a column is usually placed for three meters, so a 5-meter-long canopy needs two columns.
Usually the length of the column also determines the height of the canopy.