There are a total of 8 fruits in the basket. The probability of choosing an apple on the first try is 5/8, since there are 5 apples out of 8 fruits. After taking one fruit out, there are 7 fruits left, out of which there are 4 apples. Therefore, the probability of choosing another apple on the second try is 4/7. To find the probability of both events happening, we multiply the probabilities:
P(both fruits are apples) = (5/8) x (4/7)
Simplifying this fraction, we get:
P(both fruits are apples) = 20/56
This fraction can be reduced further by dividing both the numerator and denominator by 4:
P(both fruits are apples) = 5/14
Therefore, the probability that both fruits are apples is 5/14.