First Year:40 apples
Second Year:8+2(40)=88 apples
Third year:88-88/4=<<88-88/4=66>>66 apples
Total 40+88+66=<<40+88+66=194>>194 apples
#### 194