6) Richard and David both invest $10 000. Richard invests his $10,000 at a rate of x% compound interest per year. David invests his $10,000 in a bank that pays 2% simple interest per year. After 7 years, their investment is worth the same amount. Calculate the value of x​