The account A has amount $600 and B has $1600.
Explanation:
The given equations are:
a+b=2200 ⇒1
0.03a+0.05b=98 or
+
⇒2
Change the first equation by isolating a,
a = 2200-b. ⇒3
Apply equation 3 in 2,
+
=98.
66-
+
=98.
66+
= 98.
6600+2b=9800.
2b=9800-6600.
2b=3200.
b=1600.
Substitute b value in equation 3
a=2200-1600.
a=600.