Rewrite the given equations is the slope intercept form.
Therefore the slope of first line is and the slope of second line is .
Since the product of slopes of two perpendicular lines is -1, therefore we can say that both lines are perpendicular to each other. Option D is correct.