A $1000 bond with coupons at j2 = 10% (10% compounded semi-annually) is redeemable at par in "n" years. It is purchased at a premium of $300. Another $1000 bond with coupons at j2 = 8% is also redeemable at par in "n" years. It is purchased at a premium of $100 on the same yield basis as for the first bond. [That is, both n and the yield are the same for both bonds.] Calculate the unknown yield rate(as a rate compounded semi-annually).

Now I know a basic formula for yield is earnings over price paid, which would make it 100/1300 for the first bond and 80/1100 for the second, but this gives me two different rates, and I feel like you have to use both bonds simultaneously to find the yield. Any help with this would be appreciated.