Hi!
To solve this, we simply use the equation shown in the image below:
What this means is the change in y over the change in x.
We use the two points and plug them in the equation like so:
[tex]\frac{6 - - 18}{4--16} =\frac{6+18}{4+16} =\frac{24}{20} =\frac{6}{5}[/tex]
Therefore your answer is [tex]\frac{6}{5}[/tex].
Hope this helps! Have a fantastic day! :D
Let me know if you need any other help.