Well, you would have needed to list the potential equations for us to match, but I will make an attempt to answer the question anyway and hopefully one will match.
Let d = # of dimes, n = # of nickels, and q = # of quarters.
We know that she has three times as many dimes as nickels. So d=3n.
We know that she has twice as many quarters as nickels. So q=2n.
The key to writing an equation for this situation is to write an equation with all three variables and then replace two of them with equivalent expressions using n.
The total value is $3.40. Since dimes are worth $0.10, the value of the dimes is 0.10d. Since nickels are worth $0.05, the value of the nickels is 0.05n. Finally, the value of the quarters is 0.25q since quarters are worth $0.25. By adding up these three values, we get the total value:
0.10d + 0.05n + 0.25q = 3.40
Next, replace d with 3n and q with 2n,
0.10(3n) +0.05n + 0.25(2n) = 3.40
That might match the solution you are looking for, or they may have simplified it:
0.30n + 0.05n + 0.50n = 3.40
or
0.85n = 3.40