1) Two lines are parallel when they have the same slope, for example, the lines:
![\begin{gathered} y_1=2x_1+3 \\ y_2=2x_2-5 \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/college/qerxzihs5pofpmowuzovbm81z12inplrhn.png)
The coefficients of the x-terms of the lines are their slopes. In this example, both slopes are equal to 2, so the lines are parallel.
![m_1=m_2=2](https://img.qammunity.org/2023/formulas/mathematics/college/9u54rtmswv3rncogcv8hesn4v622u5ygai.png)
m₁ indicates the slope of the first line
m₂ indicates the slope of the second line
2) If two lines are perpendicular, then their slopes are reverse opposites, for example, given the lines:
![\begin{gathered} y_1=m_1x_1+b_1 \\ y_2=m_2x_2+b_2 \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/college/d3wwambizsbhfabs8hyk9kqqpyuylu1j7g.png)
For both lines to be perpendicular the relationship between their slopes must be the following:
![m_2=-(1)/(m_1)](https://img.qammunity.org/2023/formulas/mathematics/college/famfci9sb6car80iseo3b973mc71ztg8tq.png)
If a line has a slope m₁=3, then the slope of the perpendicular line will be:
![\begin{gathered} m_2=-(1)/(m_1)_{} \\ m_2=-(1)/(3) \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/college/k0tkd23a4zkd9dt832y8w7bj0na606mkch.png)
3) If the slopes are not equal nor reverse opposites, then the lines you are comparing are neither parallel nor perpendicular, for example, the lines:
![\begin{gathered} y_1=5x_1+9_{} \\ y_2=-(1)/(7)x-5 \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/college/sa6j4afk9lo6czqrvlqu3ihnczix7lkbtu.png)
With this in mind, considering the given lines:
![\begin{gathered} y=8x-6 \\ y=8x+8 \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/college/3dmmfyws4wql5fyxhn8l7a4n74hap2n525.png)
The slope of both lines is equal to 8, which means that the lines are parallel.