Given :
m=1/2 and the point on the line is (0,0).
The equation of the line is
![y=mx+b](https://img.qammunity.org/2023/formulas/mathematics/high-school/smsb8cbft03lwblmi49nf2l6jby2ofxzws.png)
where m is slope and b is y itercept.
The y-intercept is the point where the lie crosses the y-axis.
(0,0) is the y-intercepet point.
we get b=0.
Substitute m=1/2 and b=0 in the line equation, we get
![y=(1)/(2)x+0](https://img.qammunity.org/2023/formulas/mathematics/high-school/88s2kwx1k3wvion1ofwgk0rv7zl6zbd3hw.png)
The line equation is
![y=(1)/(2)x](https://img.qammunity.org/2023/formulas/mathematics/high-school/nabzjkdehz167djomj2imkro9b16cn2vpr.png)
Similarly, replacing m=-1/-2 and b=0 in the line equation, we get
![y=(-1)/(-2)x](https://img.qammunity.org/2023/formulas/mathematics/high-school/zzpjp7wyonprctwvjf14u00pcvfnibopfh.png)
Set x=0, we get
![y=(-1)/(-2)(0)](https://img.qammunity.org/2023/formulas/mathematics/high-school/cz7fzn72g36px8otflhm9n7cjjwqgr3eg1.png)
We get the point (0,0).
Set x=2, we get
![y=(-1)/(-2)(2)](https://img.qammunity.org/2023/formulas/mathematics/high-school/cy77cc5ixx14qoqhmxu294h3et48hntayl.png)
![y=1](https://img.qammunity.org/2023/formulas/mathematics/high-school/dy87pp1e3lz28ku95s9s4tv5bvbrg0dkd1.png)
We get the point (2,1).
Set x=-2, we get
![y=(-1)/(-2)(-2)](https://img.qammunity.org/2023/formulas/mathematics/high-school/jvj2hy5wxzygtma4ay6fqe70coernbbsfx.png)
![y=-1](https://img.qammunity.org/2023/formulas/mathematics/high-school/vwgcxbnu6slshz866yc5mzof7h9jqvl6lx.png)
We get the point (-2,-1).
Mark th epoints (0,0), (2,1) and (-2,-1).
Join all the points by ray.
we get the same line.
Hence we get that
![m=(1)/(2)=(-1)/(-2)](https://img.qammunity.org/2023/formulas/mathematics/high-school/9bg07m4ry6u1blc3dc89nmhfh99mrjr5fx.png)