See this one.. let me know ur doubts..and see i didn't used this condition in ur question. That was just a particular case. That is L1 and L3 has only different constant terms C1 and C2. And L2 and L4 has also constant terms C1 and C2 duly..
In ur question I used the concept which is applicable for any parallelogram -