David invests $7000 in two different accounts. The first account paid 2 %, the second account paid 5
% in interest. At the end of the first year he had earned $182 in interest. How much was in each
account?