Hello Confused Student, and welcome to the forum!
What exactly are you having trouble with in this script?
I see a pretty obvious syntax error:
Is the "+:)" there for a reason?
Also, if you want your if statements to match two conditions, each condition should be enclosed in its own set of brackets (and you only need on ampersand. two ampersands is like saying "then")
if [ "$carpet" = "all purpose" && "install" = "yes" ]
# Should be something like this:
if [ "$carpet" = "all purpose" ] & [ "install" = "yes" ]
I hope this helps!