A 1-year bond paying annual coupons of 12% has an annual effective yield of 12%. a 2-year bond paying annual coupons of 10% has an annual effective yield of 14.847%. The bonds have $100 of par value.

(i) calculate the value of the implied 2-year spot rate, s(2)

(ii) An investor wants to invest $1000 for 2 years at the spot rate calculated in part (i). Suppose the investor is unable to find an institution willing to accept a 2-year deposit. Describe how the investor's objective can be accomplished through purchase and sale of the 1-year 12% bond and the 2-year 10% bond.

I thought the first part was simple but I cannot figure out the second one:

the answer to the first part is 15% and the answers to the 2nd part is that the investor should purchase 12.0227 2-year bonds and sell 1.0735 1-year bonds

Can someone please explain?