Thanks for the query.
Unfortunately both the sexual acts can lead to pregnancy , though the second one had pulled out , it does not rule out the chances completely.Only a DNA test can help determine the father, but that too is not feasible so easily and approved by the law .
Hope this helped.
These Q&A’s are for educational purposes and should not be relied upon as a substitute for medical advice you may receive from your physician. If you have a medical emergency, please call 911. These answers do not constitute or initiate a patient/doctor relationship.