Respuesta :

the gradient for a parallel line is the same.
perpendicular lines are negative reciprocals.
so all you have to do is re arrange it so y=Mx+b so the check out the gradients to what I listed above... remember y shouldn't have any number on it.