Answer:
The value of r is -1
Explanation:
The slope of a Line
Suppose a line passes through points A(x1,y1) and B(x2,y2). The slope can be calculated with the equation:
![\displaystyle m=(y_2-y_1)/(x_2-x_1)](https://img.qammunity.org/2021/formulas/mathematics/high-school/41kulvff1pgimoc7unwlsr8pc5vgedtyrp.png)
The points are (1,2) and (-5,r), and the slope is 1/2, thus
![\displaystyle (r-2)/(-5-1)=(1)/(2)](https://img.qammunity.org/2021/formulas/mathematics/high-school/4l5p621zg4q7q726g000pmrljo2ck82ijn.png)
Operating:
![\displaystyle (r-2)/(-6)=(1)/(2)](https://img.qammunity.org/2021/formulas/mathematics/high-school/q0p0tjgtwldd9gss5sr2trc0m765lvn7pi.png)
Multiplying by -6:
![2(r-2)=-6](https://img.qammunity.org/2021/formulas/mathematics/high-school/53ihxp8rs1nbqsd85mp1yx9zcudoibmmgd.png)
Dividing by 2:
![r-2=-3](https://img.qammunity.org/2021/formulas/mathematics/high-school/1al3uamy7vjbi3ul5nzrmkjcrm2hh3babh.png)
Add 2:
![r=-3+2=-1](https://img.qammunity.org/2021/formulas/mathematics/high-school/j0oplu6xatd7ofrzhsdjbcmz2pekz4ap9j.png)
![\boxed{r=-1}](https://img.qammunity.org/2021/formulas/mathematics/high-school/famzir191ryrbfvzred0co0cuaedwnk4i6.png)
The value of r is -1