A bag contains white marbles and yellow marbles, 18 in total. The number of white marbles is 6 less than 2 times the number of yellow marbles. How many white marbles are there?