Final answer:
Darwin was influenced by the principle of uniformitarianism and the idea of an ancient Earth, which aligned with his theory of gradual evolution through natural selection over vast timeframes.
Step-by-step explanation:
The two ideas from geology that were important to Charles Darwin's thinking were uniformitarianism and the concept of an ancient Earth. The principle of uniformitarianism, proposed by James Hutton and popularized by Charles Lyell, suggested that the Earth's geological features were the result of continuous and gradual processes rather than sudden, catastrophic events. This idea of gradual change over an extended period aligns with Darwin's concept of evolution through natural selection, where small, cumulative alterations in species can lead to substantial biological changes over long stretches of time. Further, Lyell's assertion that the Earth was much older than previously believed provided the vast timeframes necessary for these evolutionary changes to occur.