Light Yagami attempts to outsmart Near in the final stages of the investigation by manipulating the situation to his favor, planting false evidence to mislead Near, and using his strategic mind to plan out his moves in a way that he believes will lead to his victory.