You can use the slope formula or just calculate
[tex] \frac{rise}{run} [/tex]
So for the first problem you run 3 units right and rise 5 units so
[tex] \frac{rise}{run} = \frac{5}{3} [/tex]
2. Notice the y axis goes by 2 units.
[tex] \frac{ - 10}{4} = \frac{ - 5}{4} [/tex]
3.
[tex] \frac{0}{12} = 0[/tex]
4.
[tex] \frac{2}{0} = undefined[/tex]
Please let me know if you have questions