Jessa started with 100 sugar cookies for the Christmas banquet and gave away x cookies. Cooper started with 120 cookies but gave away twice as many pieces as Jessa did. How many sugar cookies did Jessa give away if they had the same number left?