The slope of a line can be calculated with the following formula:
![m=(y_2-y_1)/(x_2-x_1)](https://img.qammunity.org/2023/formulas/mathematics/high-school/78uaqhwt0aws3qfwxigaftpihnmb1gzxtp.png)
You know that the line passes through the following points:
![\mleft(-31,26\mright);(4,36)](https://img.qammunity.org/2023/formulas/mathematics/college/ig14ih4mzzj8c4nrhosub46go5rw380yj9.png)
For this case, you can set up that:
![\begin{gathered} y_2=36 \\ y_1=26 \\ x_2=4 \\ x_1=-31 \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/college/12l2jv6pp9m1i7l37l104cwvekc0qz1cr0.png)
Then, knowing the coordinates shown above, you can substitute them into the formula in order to find the slope of the line. This is:
![\begin{gathered} m=(36-26)/(4-(-31)) \\ \\ m=(10)/(35) \\ \\ m=(2)/(7) \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/college/7dxn14ee7zj41ke05tdmpbx59np28ysyj5.png)
The answer is:
![m=(2)/(7)](https://img.qammunity.org/2023/formulas/mathematics/college/u68zbiexvlat7e5v31te4zle5ncpvd4w67.png)