find their gradients using the change in y coords divided by the change in x coords. once you have the gradients (or slopes), multiply them by eachother - if the product is (-1) then theyre perpdendicular, if not, they are either parallel or intersect at a point