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
THEREFOR!
Your answer is....
1014123a+221111b-721189.