For this case we define the following variables:
By definition, since the lines are perpendicular, it follows that:
[tex]mp * mq = -1[/tex]
Substituting values we have:
[tex]2 * mq = -1[/tex]
From here, we clear the value of the slope of the line q:
[tex]mq = - \frac {1} {2}[/tex]
Answer:
The slope of line is:
[tex]mq = - \frac {1} {2}[/tex]