Defense: moving (1)

If one of your pieces is under attack, you have a problem.
You don’t want to lose your piece.
So you need to do something to defend it.
One way to defend is by moving your piece.

Have a look at the example.
The knight is under attack from the rook.
It can move to two squares.
But only the green square is safe!
On the red square, the rook can take the knight as well!
Always make sure you flee to a safe square.

What do you have to do?
Defend your piece by moving it.