Ch-1, single crochet that same st and ea ch across the ch-8, you then single crochet each of the 15 stitches you did not work when you formed the 1st leg opening.
Slip Stitch top beginning single crochet and you have now formed the 2nd leg opening for the pant’s leg or doll’s leg.