ax + bx = (a+b)x. This is known as the distributive property, multiplication distributes over addition.
Try picking concrete values for a, b and x to see that it works. It’s probably used at many other points in that video alone without you questioning it.