given data;
[tex]\begin{gathered} (x_1,y_2)=\mleft(2,18\mright) \\ (x_2,y_2)=(4,28) \end{gathered}[/tex]To find:
The slope .
The formula to find the slope is,
[tex]\begin{gathered} m=\frac{y_2-y_1}{x_2-x_1} \\ \end{gathered}[/tex]Plug in the points,
[tex]\begin{gathered} m=\frac{28-18}{4-2} \\ =\frac{10}{2} \\ =5 \end{gathered}[/tex]The slope of the equation is, 5.