Parallel and perpendicular lines
Line equation
We know line equation is given by
y = mx + b
The number m is called the slope of the line and it shows the inclination of the line
Parallel lines
Two lines are parallel when they have the same inclination
For the first line m = 2 and for the second m = -2
Then they are not parallel
Perpendicular lines