Let x,y,z be the amounts deposited in different savings accounts
x in 5% savings account,y in 8% savings account,z in 8.5% savings account
x+y+z=7000
5x+8y+8.5z=55000
given that x=y
writing above linear equations in matrix form
[212617][xz]=[7000110000][xz]=18[17−1−262][7000110000][xz]=[11254750]
Hence amounts deposited in different accounts are 1125, 1125, 4750.