Complex sentence: Here the distributive law was applied twice, and it does not matter which bracket is first multiplied out.
Split into simpler sentences: Here the distributive law was applied twice and. It does not matter which bracket is first multiplied out.