Distributing a total principal between 2 investments

Joan is looking to invest a total of $60000, some of it in a certificate of deposit and the rest of it in a high-yield bond fund suggested by her cousin Bernie. If the CD pays 4% annually and the bond fund pays 12% annually, move the slider to see the correspondence between the total amount of interest earned and the amount that has been invested in each account.