Find the value of k for which the quadratic equation (3k+1)x2+2(k+1)x+1=has equal roots. Also, find the roots.
k=0,1;x=−1,−12