The sentence that correctly uses a compound subject is: Margo and they prefer swimming over running.
However, it's worth noting that "they" should ideally be replaced with a proper noun or another subject pronoun that appropriately matches the context. A better version would be "Margo and I prefer swimming over running."