21.
Your Answer is
Correct Answer is D
Explanation
According to the meaning of the sentence "The intention of the researcher is to detect the appearance of the whale and quickly warn the nearby boats to slow down", we can see that the underlined part is juxtaposed with the front to detect. Parallel structure to do and (to) do.