Nancy invested $5,000 for $$x$$ years at an annual interest rate of 6 percent, compounded annually.
David invested $6,000 for $$y$$ years at an annual interest rate of 6 percent, compounded semiannually.
Quantity A
The total amount of interest that Nancy's investment earned
Quantity B
The total amount of interest that David's investment earned