As the name itself says, a function analogy compares the functions that two or more things may have.
Having that in mind, the correct answer is D. car:drive::bike:ride.
The function of a car is to drive, and the function of a bike is to ride. The other options are analogies, just not function analogies.