Combining like terms with distribution