The following table shows $\left(x, \; y\right)$ values for a linear function. What is the slope of this function?

A. $6$

B. $2$

C. $12$

D. $4$

E. $1$

$x$ | $y$ |

2 | 14 |

5 | 32 |

7 | 44 |

8 | 50 |

A. $6$

B. $2$

C. $12$

D. $4$

E. $1$