1. A basket of fruit contains only bananas, apples, and oranges. The basket contains 2 bananas, 6 red apples, and 8 green apples. If the total number of pieces of fruit is three times the number of apples in the basket, how many oranges are in the basket?