Parallel lines have the same slopes which means that they have the same slope. The slope is determine by the coefficient in front of the x-term. y=ax+2y=3x−8 Thus, a=3 will make the lines parallel.
The slope a must be equal to -31 if the lines are perpendicular.