They are opposite and fraction is flipped. Example: lines with the slopes -2 and 1/2 are perpendicular.