oh..
so for example, if the first line's gradient is = 2. that would be 1i + 2j. And the second line's gradient is 3/2, that would be 2i + 3j.
(1i + 2j) . (2i + 3j) blah blah blah the dot product formula.
U could try it, but i think nid's one is standard mark scheme thing, so that way is more standard. Ull get the same answer thou.