Let r(x)=x3+kx2+5x+m be a cubic polynomial.
(i) Given that x=1 is a zero of r(x) and that the remainder obtained when r(x) is divided by (x+2) is 7, write two independent equations connecting k and m.
(ii) Solve these equations to determine the values of k and m.
(iii) With the obtained values of k and m, express r(x) in its completely factorised form.