Answer:
Step-by-step explanation:
You can use the cross product. Let the vector that perpendicular to a and c is
, so:
To check that c is perpendicular with a and b, do the dot product between c and a and also c and b and if the result is zero, you're true.
(c perpendicular to a)
(d perpendicular to c)