Answer:
![r=6](https://img.qammunity.org/2021/formulas/mathematics/college/b58axp9prslfs3w3b5xjmro5qk922f6lb2.png)
Explanation:
Make an equation in point-slope form where:
- the equation is
![y-y_(1)=m(x-x_(1))](https://img.qammunity.org/2021/formulas/mathematics/college/6ens92i2812umxi8c4qw4vrkpanvlzl4lw.png)
- y1 and x1 are the corresponding coordinate points
![(x_(1),y_(1))](https://img.qammunity.org/2021/formulas/mathematics/college/thi732wso94q73aqhypel0qxm0vldobtmf.png)
Insert the known values:
![(-2_(x1),8_(y1))\\\\m=-(1)/(2) \\\\y-8=-(1)/(2) (x-(-2))\\\\y-8=-(1)/(2) (x+2)](https://img.qammunity.org/2021/formulas/mathematics/high-school/43lviql6xkuiyi3wnhp0yuohzkx7gclium.png)
Use the distributive property:
![-(1)/(2) (x+2)\\\\-(1)/(2)(x)-(1)/(2)(2)](https://img.qammunity.org/2021/formulas/mathematics/high-school/gvo2fc2n0dhyfuo1ekgh2wfth4u1jdn7az.png)
Simplify. Turn the 2 into a fraction by converting to the fraction
, which is still equal to 2:
![-(1)/(2)(2)\\\\-(1)/(2)*(2)/(1)](https://img.qammunity.org/2021/formulas/mathematics/high-school/l8rmczjgga88vav7zqtso4oxik3k9h1gj0.png)
Multiply across:
![-(1)/(2)*(2)/(1) =-(2)/(2) =-1](https://img.qammunity.org/2021/formulas/mathematics/high-school/8kq1bhncjrr3cxypb2metff7p0lnvgv4bg.png)
Re-insert into the equation:
![y-8=-(1)/(2)x-1](https://img.qammunity.org/2021/formulas/mathematics/high-school/x2bx41n3uuvld6e5scupajiqag6krjzc3p.png)
Solve for y. Add 8 to both sides (to isolate y using inverse operations):
![y-8+8=-(1)/(2)x-1+8\\\\y=-(1)/(2)x+7](https://img.qammunity.org/2021/formulas/mathematics/high-school/k8nupb43b60gudi1zalm80efrolzcb712g.png)
Now insert the y value of the other point to find r (which will have the same value as x):
![(r_(x),4_(y))\\\\4=-(1)/(2)x+7](https://img.qammunity.org/2021/formulas/mathematics/high-school/xqkb4z4wwmm48tfiokaji63z5lrehcmmjk.png)
Simplify the fraction by multiplying. Add 1 as the denominator for x:
![-(1)/(2)*(x)/(1)](https://img.qammunity.org/2021/formulas/mathematics/high-school/t01u2fzcyldo0drlywtxvxf3rpbj7frfry.png)
Multiply across:
![-(1)/(2)*(x)/(1)=-(x)/(2)](https://img.qammunity.org/2021/formulas/mathematics/high-school/lofihx89lsnqu63265g8vr3a1rjaskcp6i.png)
Re-insert:
![4=-(x)/(2) +7](https://img.qammunity.org/2021/formulas/mathematics/high-school/z9pazcitk7pq8cttis8pnazmgfmba0l6z1.png)
Subtract 7 from both sides (to isolate the variable using inverse operations):
![4-7=-(x)/(2) +7-7\\\\-3=-(x)/(2)](https://img.qammunity.org/2021/formulas/mathematics/high-school/b23bvr3343njt69xikovs2ov28xzee1ead.png)
Multiply both sides by 2 (to undo the fraction using inverse operations):
![2(-3)=2(-(x)/(2)) \\\\-6=-x](https://img.qammunity.org/2021/formulas/mathematics/high-school/ijf23ifyf2l1945mg42fucrufplv7bw7ge.png)
Divide both sides by -1 (to make the variable positive, since two negatives make a positive):
![(-6)/(-1) =(-x)/(-1) \\\\x=6](https://img.qammunity.org/2021/formulas/mathematics/high-school/5ghf2c9ma0l3sul8chld93isu52wsydbx9.png)
Therefore, the value of r is 6.
:Done