Observe the graph, the points are lie on the line shown.
Substitute the values of in the slope formula .
.
The option D is correct answer.