a = amount invested at 4%
how much is 4% of "a"? (4/100) * "a", namely 0.04a.
b = amount invested at 5%
how much is 5% of "b"? (5/100) * "b", namely 0.05b.
we know the total amount invested is 5550, so whatever "a" and "b" might be, we know that a + b = 5550.
we also know that the yielded amount in interest is 259, so if we simply add their interest, that'd be 0.04a + 0.05b = 259.
![a+b=5550\implies b=5550-a \\\\[-0.35em] ~\dotfill\\\\ 0.04a+0.05b=259\implies \stackrel{\textit{substituting from above}}{0.04a+0.05(5550-a)~~ = ~~259} \\\\\\ 0.04a+277.5-0.05a=259\implies 277.5-0.01a=259\implies -0.01a=-18.5 \\\\\\ a=\cfrac{-18.5}{-0.01}\implies \boxed{a=1850}\hspace{9em}\stackrel{ 5550~~ - ~~1850 }{\boxed{b=3700}}](https://img.qammunity.org/2024/formulas/mathematics/college/3w5vw06i2sagvs1e59gua47txxjikw6mzs.png)