Looking to Clean Up My CL...maybe use If, Then, Else Structure?

Hi There, I am looking for suggestions on cleaning up my code for this slide. I’m thinking that I could use IF, THEN, ELSE structure, but haven’t used it enough in Desmos to really understand quiet how to apply it here. Any help would be much appreciated!