The knight moves in an L: two squares in one direction, then one square to the side. From d4 it can land on all 8 green squares.
8
7
6
5
4
3
2
1a
b
c
d
e
f
g
h