Answer:
Slope of a line perpendicular to the line AB =
![-(1)/(2)](https://img.qammunity.org/2020/formulas/mathematics/middle-school/rl8evc58egdmlf26tw2nmq4e4e1zwx7ma0.png)
Slope of a line parallel to AB = 2
Explanation:
Let slope of a line =
![m_(1)](https://img.qammunity.org/2020/formulas/physics/high-school/cyq1k773fatycn6kggsjdqeyehumro1pgo.png)
And slope of the other line is =
![m_(2)](https://img.qammunity.org/2020/formulas/physics/high-school/nihh8mhp7qp3s3j634zh5qe9sppvod7274.png)
If these lines are parallel then
![m_(1)=m_(2)](https://img.qammunity.org/2020/formulas/mathematics/college/jkvpnymkb2o45ej5jmb8tp8g3zht8fku43.png)
If these lines are perpendicular then
![m_(1)* m_(2)=-1](https://img.qammunity.org/2020/formulas/mathematics/high-school/dqm5l7kgeknktvvk1tnzhk8rpyzihj9ggi.png)
Slope of the line passing through two points (x, y) and (x', y') =
![(y-y')/(x-x')](https://img.qammunity.org/2020/formulas/mathematics/high-school/q92lj4w2spf6nfqz3e0uhjaigmgafpe4bp.png)
Therefore, slope of the line passing through A(3, 4) and B(5, 8) =
![(y-y')/(x-x')](https://img.qammunity.org/2020/formulas/mathematics/high-school/q92lj4w2spf6nfqz3e0uhjaigmgafpe4bp.png)
![m_(1)=(8-4)/(5-3)](https://img.qammunity.org/2020/formulas/mathematics/middle-school/xlrf3a7cgiahl7x5o7nq8athjfzd86isle.png)
![m_(1)=2](https://img.qammunity.org/2020/formulas/mathematics/middle-school/f97wv8r99ntshq1u93suo9mf96pl5jbd0y.png)
a). If a line having slope
is parallel then
![m_(1)=m_(2)](https://img.qammunity.org/2020/formulas/mathematics/college/jkvpnymkb2o45ej5jmb8tp8g3zht8fku43.png)
![m_(2)=2](https://img.qammunity.org/2020/formulas/mathematics/middle-school/ssml75jyq8rkhwzyrq5q2k6qgtcjhpa6ry.png)
b). If a line having slope
is perpendicular then
![2* m_(2)=-1](https://img.qammunity.org/2020/formulas/mathematics/middle-school/jw1bi3ehdxe58bjw1mcur8w19r3wwmf488.png)
![m_(2)=-(1)/(2)](https://img.qammunity.org/2020/formulas/mathematics/middle-school/v7l5wojn2onoxpuzxll1dmg2ozsjwnk624.png)