First of all there isn't any graphs shown in here but i will try to show u how to work it out according to the given data.
[tex]Slope= \frac{y2-y1}{x2-x1}[/tex]
where (x1,y1) and (x2,y2) are two points by which the line passes through.
so;
[tex]Slope= \frac{4-10}{2-5}[/tex]
[tex] Slope = \frac{-6}{-3}[/tex]
Slope=3