5(-7 + x) + -4(x + -1)
= 8(x + 3) + -12x (-7 * 5 + x * 5) + -4(x + -1)
= 8(x + 3) + -12x (-35 + 5x) + -4(x + -1)
= 8(x + 3) + -12x
-35 + 5x + -4(-1 + x)
= 8(x + 3) + -12x -35 + 5x + (-1 * -4 + x * -4)
= 8(x + 3) + -12x -35 + 5x + (4 + -4x)
= 8(x + 3) + -12x