You should know that an equation in the form (or )
has the gradient as m and y-intercept as c.
If the gradient of the two lines are the same, then they are parallel.
If their product gives -1, it means they are perpendicular.
If they are neither the same, nor their product gives -1, then they are neither parallel nor perpendicular.