To calculate that we notice that for the first window there are total of  five possible fruits that it could be, and for each one of those there are five  possible fruits that the second window could be, and for each one of those there are five  possible fruits that the third window could be. 