Alice has a collection of coins consisting of quarters and dimes. She has a total of 18 coins with a total value of $3.00. If the number of quarters is represented by the variable q and the number of dimes is represented by the variable d, we can create the following equations:
1. The equation representing the total number of coins is:
$$ q + d = 18 $$
2. The equation representing the total value in cents is:
$$ 25q + 10d = 300 $$
Determine the number of dimes, d, that Alice has.