In a certain game, players earn 3 points for each red token collected, 5 points for each blue token, and 10 points for each gold token. A player scored a total of 500 points. If they collected red tokens, blue tokens, and gold tokens, which of the following expresses in terms of and ?