By definition, if two lines are perpendicular to each other, then their slopes are negative reciprocals.
In this case you can observe that that the slope of the line is and you know that the other line is perpendicular to this line. Therefore, their slopes are negative reciprocals.