Example5.2.10Two Different Interest Rates

Greta made some large purchases with her two credit cards one month and took on a total of \(\$8{,}400\) in debt from the two cards. She didn't make any payments the first month, so the two credit card debts each started to accrue interest. That month, her Visa card charged \(2\%\) interest and her Mastercard charged \(2.5\%\) interest. Because of this, Greta's total debt grew by \(\$178\text{.}\) How much money did Greta charge to each card?