Yes they are perpendicular.     y = 3x + 7  and y = - 1/3 x + 2    The slope 3 multiplied by slope (- 1/3)  = -1 return