Two lines 
 are perpendicular if their slopes are in a relation 
.
So we need to find slopes and if the above relation holds then we can claim the lines are perpendicular.
To find slopes, use slope formula

The first slope of a line passing through 
 is

The second slope of a line passing through 
 is 

Now check if 
 is true

This means the two lines are perpendicular.
Hope this helps.