IB Mathematical Studies, gradient of a line, perpendicular and parallel lines
If two lines are perpendicular their slopes are negative reciprocals and if two lines are parallel have equal slopes.
Regarding your question about the gradient of the line which is perpendicular to the line
be the required slope then we have the following relation
Hope these help!