an engineer invested $\$10,\!000$ in a six-month savings certificate that paid a simple annual interest rate of $12\%$. after six months, she invested the total value of her investment in another six-month certificate. after six more months, the investment was worth $\$11,\!130$. if the annual interest rate of the second certificate is $r\%,$ then what is $r?$