A fruit basket contains the same number of apples and pears. If Eric eats 5 apples and 1 pear, there will be twice as many pears as apples. How many pears remain in remain in the basket?