A woman invested 4 times much at 4% as she did at 9%. The total amount of interest she earns in 1 year from both accounts is $500. How much did she invest at each rate?