expand (K+L)(K+M)(L+N)(M+P)(N+Q)(P+Q)