Find the conditions for two vectors to be (i) parallel, and (ii) perpendicular to each other