If you have a line y = m x + b then the line perpendicular to that will have slope = -1/m so y = -(1/m) x + c and they cross at right angles
You can ask a new question or answer this question.