You can put this solution on YOUR website! If two lines are perpendicular when
the two gradients are multiplied
together they equal -1 (m1 x m2 = -1)
If two lines are parallel the
gradients will be equal (m1 = m2)
With y = 2x -2 and y = 0.5x, the
lines are neither parallel or perpendicular