She planted eight trees. This means she used half of that amount of apples, which is 8 trees / 2 trees/apple = <<8/2=4>>4 apples.
That means that she planted four of the six apples she bought, leaving only 6 apples - 4 apples = <<6-4=2>>2 apples to be eaten.
#### 2