David has 18 coins in nickels, dimes and quarters the total value is $2.80 the number of nickels is one more than three times the number of dimes how many quarters does David have