Background1 and background2 have almost identical code so it’s much easier to copy the code than to start over for the second background.
Knowing how to properly copy code is one of the most important skills of programming.