In a fruit basket, there are apples, bananas, and oranges. The number of bananas is 3 times the number of apples, and the number of oranges is 2 less than twice the number of bananas.
If there are 4 apples in the basket, how many oranges are there?