A step-by-step look at how these drugs end pregnancy