Determine the genotypes of the parents.

One parent has AB blood and the other has type B, but the children, 25% are type A, 25% are type AB, and 50% have type B blood.