I apologize in advance for any and all wrong use of terminology.
Consider a sentence of the form
The project was created to practice X and learn Y.
I believe the "practice X and learn Y" is a compound predicate and so there should be no comma before the "and". However, I get confused if X is a list. If I simply replace the X by "V, W, and X", I get
The project was created to practice V, W, and X and learn Y.
Is this correct? It looks strange to me, and I'm not so sure since the "X and learn Y" could be read as a single item? I was going to write a similar sentence, and I wrote it as
The project was created to practice V, W, and X, as well as to learn Y.
However, if the "as well as" is just a placeholder for "and", then isn't the comma before "as well as" wrong, since it "splits a compound predicate"?
Any help is appreciated. Thank you for your time and have a great day.