This is an example of "deductive reasoning".
Deductive reasoning is a legitimate procedure in which a conclusion depends on the concordance of various premises that are for the most part thought to be valid. Deductive thinking is some of the time alluded to as best down rationale. Its partner, inductive thinking, is some of the time alluded to as base up rationale.