A farmer planted two varieties of fruit trees: Apple trees and Pear trees. Each successful Apple tree yields kg of fruit, and each successful Pear tree yields kg of fruit. The farmer observed that of the Apple trees planted were successful and of the Pear trees planted were successful. If the farmer planted a total of trees, what was the total yield of fruit in kilograms?
35
40
45
50
55