The best way to combine the two sentences with a compound subject is
Dogs and wolves are closely related to the coyote.
A compoud subject is one two nouns are connected by a coordinating conjunction like "and" or "or." In order to form a compound subject in this sentence, we need to make sure our compound subject is "dogs and wolves." It makes the most sense to put this at the beginning of the sentence.