The scenario you provided describes how certain traits (long legs) give an advantage in survival and reproduction due to the environmental conditions (limited food supply and the ability to wade farther into the water to find food). Over time, these advantageous traits become more common in the population.
The scientific term that best describes this scenario is:
A) Natural selection
Natural selection is the process through which advantageous traits become more common in a population over generations, resulting in evolution.