Man with A blood group can have a genotype of IAi or IAIA.
Wife with B blood group can have a genotype of IBi or IBIB.
Since, the blood group of the offspring is O this means that the blood group of man and wife is IAi and IBi respectively.
Lets make a cross for the offsprings
IA | i | |
IB | IAIB | IBi |
i | IAi | ii |
The couple can produce offspring with A, B, AB and O blood group.