Solve the following system of linear equations using matrix method.

i)2x+y-2z=10
y+10z=-28
3y+16z=-42