I need help with this, i also have a photo to help.

The account A has amount $600 and B has $1600.
Step-by-step explanation:
The given equations are:
a+b=2200 ⇒1
0.03a+0.05b=98 or [tex]\frac{3}{100}a[/tex]+[tex]\frac{5}{100}b[/tex]⇒2
Change the first equation by isolating a,
a = 2200-b. ⇒3
Apply equation 3 in 2,
[tex]\frac{3}{100}(2200-b)[/tex]+[tex]\frac{5}{100}b[/tex]=98.
66- [tex]\frac{3}{100} b[/tex]+[tex]\frac{5}{100}b[/tex]=98.
66+ [tex]\frac{2}{100} b[/tex] = 98.
6600+2b=9800.
2b=9800-6600.
2b=3200.
b=1600.
Substitute b value in equation 3
a=2200-1600.
a=600.