Assuming the $15,000 perpetuity begins after the 25-year retirement annuity ends:
First find how much money Sunrise needs at retirement in year 15.
The $50,000 payments last for 25 years, and the first payment is at the end of year 15. Since the first payment occurs immediately at retirement, this is an annuity due.
PV of retirement payments:
$50,000 × [(1 - 1/1.12^25) / .12] × 1.12
= $439,215.79
Next find the amount needed for the perpetuity.
After year 40, the account earns 15%, so the amount needed to provide $15,000 per year forever is:
$15,000 / .15 = $100,000
Discount that amount back to year 15 at 12%:
$100,000 / 1.12^24 = $6,588.21
So the total amount needed at year 15 is:
$439,215.79 + $6,588.21 = $445,804.00
Now find the annual deposit needed to accumulate this amount over 15 years at 9%.
Future value factor:
[(1.09^15 - 1) / .09] = 29.36092
Annual deposit:
$445,804 / 29.36092 = $15,183.59
So Sunrise must deposit approximately $15,184 per year for 15 years.