The key to solving the problem: to solve the problem of planting trees, we must first judge the terrain and distinguish whether the graph is closed, so as to determine whether to plant trees along the line or along the perimeter, and then calculate according to the basic formula.
The rule of solving problems:
1, planting trees along the line = number of segments+1 tree = total distance ÷ plant spacing+1 plant spacing = total distance ÷ (tree-1)
Total distance = plant spacing × (tree-1)
2. Planting trees along the perimeter = total spacing/plant spacing = total spacing/total spacing of trees = plant spacing × trees
Although I don't see your problem, these hopes are helpful to you.