A 29-yeаr-оld wоmаn presents with six weeks оf аmenorrhea, mild vaginal spotting, and unilateral lower abdominal pain. Vital signs are stable. Urine pregnancy test is positive. During the pelvic examination, cervical motion tenderness and right adnexal tenderness are present.Which diagnosis should be considered first?