Let's assume the number of oranges is x.
Since there are 3 times as many apples as oranges, the number of apples is 3x.
The total number of fruits is the sum of the number of apples and oranges, so it is 3x + x = 4x.
We know that the basket is capable of holding 40 fruits, so 4x = 40.
Dividing both sides by 4, we get x = 10.
Therefore, there are 10 oranges.
#### 10
The answer is: 10
Below is a math problem. Provide a detailed, step-by-step solution.

### Problem:
If a basket is capable of holding 40 fruit altogether, and there are 3 times as many apples as oranges, how many oranges are there?

### Answer:
