The middle term connects the major and minor terms in a syllogism. It appears in both premises but is excluded…