Seee total ways of selecting for one of the lines is $${6\choose 3}$$ now we want both same motors in same line so they are fixed its just selecting $1$ from $4$ for last place so there are $4$ ways hence probability is $$\frac{4}{6\choose 3}=4/20=1/5$$