Answer:
<em>Riley has 72 tokens</em>
Step-by-step explanation:
<u>System of Equations
</u>
We have two conditions for the tokens Riley and Erik have earned. Let's call x and y to the number of tokens of Riley and Erik respectively. The first condition states that

Solving for y

The second condition is that the ratio of the number of tokens that Riley had to the number of tokens that Erik has is 8 to 7. It's written as

Or equivalently

Replacing y from the first equation

Operating

Simplifying


Riley has 72 tokens
13/ 52 = 1/4 chances.
There are 13 spades and 52 cards. You divide the spades and cards in the deck to find your chances of drawing one.
You have a 25% chance of getting a spade.
Now you put it back. Since you put it back, you still have the same number of cards and the same number of spades. So when you divide 13/52 again, the numbers are still the same. 1/4. 25% chance.
So, you still have a 25% chance the second time around.