There are various ways to do shading, when drawing trees. In this sketch square patches are used for shading. However, you can do shading any way you like. You can use various pencil techniques for shading. Some techniques are hatching, which is shown in the sketch, then there is hatching with tilted pencil, cross-hatching, patches, stippling, etc.