In an envelope, there are some 5 dollar notes and some 10 dollar notes. Total amount of these notes together is 350 dollars. Number of 5 dollar notes are less by 10 than twice the number by 10 dollars notes. Then find the number of 5 dollar and 10 dollar notes?

5f+10t = 350

f = 2t-10
Now finish it off