deductive and inductive reasoning in math examples