can somebody explain how 5.06(g-a)-4.24(g+a) become 0.82 g - 9.3 a

I'm confused

combine the g's: 5.06-4.24

combine the a's:-5.06-4.24