We prove that if G is a solvable group with cd( G) = {1, m, p, q, mp, mq}, where p and q are distinct primes and m > 1 is an integer not divisible by p or q, then G = A × B, where cd( A) = {1, p, q} and cd( B) = {1, m}. This generalizes [Lewis, J. Algebra 206: 235-260, 1998, Theorem A].