Contingent immunization - example

Assume a portfolio manager has decided to pursue a contingent immunization strategy over a four-year time horizon. He just purchased at par $26 million worth of 6% semiannual coupon, 8-year bonds. Current rates of return for immunized strategies are 6% and the portfolio manager is willing to accept a return of 5%. Given that the required terminal value is $31,678,475, and if the immunized rates rise to 7% immediately, which of the following is most accurate? What is the dollar safety margin?

Could someone explain the calculation steps?

Thanks!