Answer:
D.

Explanation:
We are asked to find the equation, which represents the direct variation that contains the ordered pair (2,7).
When two quantities are proportional to each other, they are in form
, where, k represents constant of variation.
Upon substituting
and
in above equation, we will get:

Let us solve for k by dividing both sides by 2:


Therefore, our required equation would be
and option D is the correct choice.