You can
put this solution on YOUR website!The part invested at 5% we'll call x so the part invested at 6% is (25000-x).
So:
x*.05 - 40 = (25000-x)*.06
x*.05 - 40 = 1500-x*.06
x*.11 - 40 = 1500
x*.11 = 1540
x = 14000
So, $14000 was invested at 5% and (25000-14000) = $11000 was invested at 6%.