$ 5400 is invested , part of it at 12 % and part of it at 7 % For a certain year , the total yield is $ 528.00 . How much was invested at each rate ? s was invested at 12 %

If x at 12%, then

0.12x + 0.07(5400-x) = 528