It's said in the solution we divide the trees in birch and "non-birch". Let's say we have 12 places where we want to plant the trees and they are numbered. We can freely choose which type of tree we want to plant. And because there are 5 birch trees there are $\binom{12}{5}$ ways to choose how to plant 5 birches in 12 places.
You can do these also with "non-birch" trees and you'll end up with $\binom{12}{7}$, which is completly the same as $\binom{12}{5}$.