Question 118414
Recall that parallel lins have {{{equal }}}{{{slopes}}};

{{{m[1] = m[2]}}}

Since given {{{y=2x-2}}} which is {{{slope-intercept}}} form…=>… slope {{{m[1]= 2}}}

It will be also slope of the line parallel to given line

Let use this line {{{y=2x+5}}} 

Here is the graph of both lines showing they are parallel:


*[invoke solve_by_graphing 2, -1, 2, 2, -1, -5]


when lines are perpendicular slopes are negative reciprocals, so

 {{{m[2] = -1/m[1]}}}

{{{m[2] = -1/2}}}

Let use this line:

{{{y = -(1/2)x }}}


Here is the graph of both lines showing they are perpendicular:


*[invoke solve_by_graphing 2, -1, 2, -1/2, -1, 0]