First you put the a's together and the normal numbers together (5a)(2a)-(7)(-1) Then you multiply 10a-(-7) Then you add 10a+7 Then you have your answer

(5a-7) (2a-1) = -19a