Final answer:
The answer involves setting up equations and solving for the amounts Teresa, Ryan, and Sam have in their wallets. After calculations, Teresa would have $11, Ryan $21, and Sam $63, which contradicts all the provided options, suggesting a possible mistake.
Step-by-step explanation:
To solve the problem, we need to set up equations based on the information given about Teresa, Ryan, and Sam. Let's denote the amount of money Ryan has as R. According to the problem statement, Teresa has $10 less than Ryan, so Teresa has R - $10. Sam has three times what Ryan has, which means Sam has 3R. They all have a total of $95, so we can now write the equation R + (R - $10) + 3R = $95. Combining like terms, this simplifies to 5R - $10 = $95.
Adding $10 to both sides gives us 5R = $105, which simplifies to R = $21 when we divide both sides by 5. Now that we have Ryan's amount, we can find Teresa's amount which is R - $10 = $21 - $10 = $11 and Sam's amount which is 3R = 3 x $21 = $63. However, none of the provided options (a, b, c, d) match the correct amounts we found. There might be a mistake in the question or in the provided options.