To calculate inbreeding, you have to take 2(to the power of #of generations). So in this case to would be 2^3 to get 6 ancestors. If you count the number of ancestors G has in my example it has 6. If G had less than 6 ancestors, inbreeding has occurred.
So, you can breed, for example, (in a scenario where you have A B C D) individuals A to both B and D and get one set of offspring and then C to both B and D and get another set of offspring to get more babies from the same number of individuals. But you could not, then breed their children together because they all have at least a mother in common.
I see lots of combinations but none that will get you more than 3 generations. At some point you will have to add more blood, which wouldn't be difficult.