dude, that is a great riddle, ok, here is the answer...........i think!!!!
So the grandpa has a son, thats one son and one dad, then that son has a son, so there, now thats two sons and two dads, and then the one grandpa.
Three people, three apples, there we go!!!!
Great riddle!!!!