Integrate[(A Exp[ x])^2,{x,-Infinity,0}]+ Integrate[(B Exp[2 x] + C Exp[-2 x])^2,{x,0,5}]+ Integrate[(D Exp[- x])^2,{x,5,Infinity}]