["Find how many of each fruit: mangoes = 5/9 x 45 = 25, papayas = 4/9 x 45 = 20.","Ripe mangoes = 3/5 of 25 = 15. Ripe papayas = 1/2 of 20 = 10.","Total ripe = 15 + 10 = 25."]