I shall tell you how to do it!!
All you have to do is combine like terms, im guessing you are solving for A and B.
so, by combining the "A" Terms, you will get 1014123a.
by combining the "B" Terms, you will get 221111b
by combining the number terms, you will get -721189
Your answer is....