In a crate there are only apples, pears, bananas and oranges. A piece of fruit is taken at random from the crate. The table shows the probabilities that the fruit will be a banana or will be an orange.
| Fruit | Apples | Pears | Bananas | Oranges |
|---|---|---|---|---|
| Probability | 0.30 | 0.10 |
The probability that the fruit will be an apple is twice the probability that it will be a pear. There are 36 bananas in the crate.
Work out the number of apples in the crate.