Let m be the number of marbles in a bag. Initially, there are m marbles.
After James adds 8 marbles and then removes p marbles, the total number of marbles left in the bag is 16.
We want to find the value of m.
Statement (1): James removes twice the number of marbles p that he added.
Statement (2): The initial number of marbles in the bag was less than 20.