contestada

Thomas invested $40,000. He put part of the money in an account paying 2% interest and the remainder
into stocks paying 3% interest. The total annual income from these investments was $1020. How much
did he invest at each rate?
(show work please)