The condition that one of the straight line given by the equation may coincide with one of those given by the equation is
Let the common line be y=mx.
Then it must satisfy both the equations. Therefore, we have
______(1)
_____(2)
Solved (1) and (2), we get
Eliminating m we get
or