Solution to LQ control for Itô-type stochastic system with time delay