We can check if two lines are either parallel or perpendicular if we apply the following rule:
If two lines are parallel, then
If two lines are perpendicular, then
So to check if the two lines are parallel
Step 1: Write the equation of a line in slope-intercept form
y=mx+c
Step2: Find the slopes of the equation
For the first line
So, the slope of the first line when compared to the general equation
For the second line
So, the slope of the second line when compared to the general equation
The next step is to use the rule to confirm
Since
Since the product of their slopes = -1, then they are perpendicular