QCD calculation of three-jet processes in lepto-production and hadronic MU-pair production