There are 4 main blood types (8 if you include the Rhesus-factor)
It is a question of antigens and antibodies:
Bloodtype A has A-type antigens on the erythrocytes, and anti-B-type antibodies in the serum;
Bloodtype B has B-type antigens on the erythrocytes, and anti-A-type antibodies in the serum;
Blood type O erythrocytes don't carry antigens but the plasma has both anti-A and anti-B antibodies.
For the effects of pregnancy, the combinations and results are as follows:
Therefore, if the baby is bloodtype A, the father can't possibly be mr. X....
The Rhesus factor is a bit more complicated, as it actually involves around 50 different factors, but suffice to say that, if one of the parents is
Therefore, if mr. X would be that father, the child would have either