This is a pun on 'Marx', which is referencing Karl Marx who wrote the book Communist Manifesto, but it's also being used since 'Marx' sounds similar to 'marks' which is a type of grade you receive in a class
I dropped out of my communism class because of lousy Marx .