For a triangle $ABC$ and a point $M$ inside the triangle we consider the lines $AM, BM,CM$ which intersect the sides $BC, CA, AB$ in $A_1, B_1, C_1$ respectively. Take $A', B', C'$ to be the intersection points between the lines $AA_1, BB_1, CC_1$ and $B_1C_1, C_1A_1, A_1B_1$ respectively. a) Prove that the lines $BC', CB'$ and $AA'$ intersect in a point $A_2$; b) Define similarly points $B_2, C_2$. Find the loci of $M$ such that the triangle $A_1B_1C_1$ is similar with the triangle $A_2B_2C_2$.