If two lines are parallel, then they have the same slope.
If two lines are perpendicular, then the slope of one line is the negative reciprocal of the other line.
The equation of a given line is expressed as
y = mx + b
Where
m represents slope
c represents y intercept
Considering the first equa