Let v=1+i1 be the discount factor.
The first annuity has payments Pk at the end of year k, for k=2,3,…,12. The payments are 1,2,3,4,5,6,5,4,3,2,1.
The present value of this annuity is given as 25.
PV1=∑.
Let's analyze the payments Pk. Let j=k−1. The sequence of payments for j= is . So for are .
for .
for . (e.g., ).
The present value of the first annuity is PV1=∑j=111.
Let's consider the sum . This is the present value of payments made at the end of years .
Consider the square of an annuity immediate .
. The coefficient of in is the number of pairs such that and . This coefficient is for . For , .
The coefficients are . These are precisely the payments for .
So .
We are given , so . Since , we must have .
Now consider the second annuity. It is a 12-year annuity with payments Qk made at the end of year k, for k=1,…,12. The payments are .
Let be the payment at time : .
for .
for . (e.g., ).
The present value of the second annuity is .
.
The first part is the PV of an increasing annuity for 6 years, .
The second part is . The term in the parenthesis is the PV of a decreasing annuity for 6 years, .
So .
We have (a6)2=∑k=2.
.
Let's look at the difference between and for . Define .
, . .
For : , . .
For : , . .
For : , . .
So sequence for is .
PV2−PV1=.
.
The difference is 1 for and 0 for .
.
This sum is .
.
We found a6=5.
PV2−25=.
.
The final answer is 30.