How do you determine genotypes?

The only way to determine genotypes is to know the parentage.