in order to figure out what equation of the line is perpendicular to another line, we have to look at the slope. the slope of the second line must be the negative reciprocal of the first line.
hope this helps!
-Camila