can u mix 2 different colors of boxed hair dye

I have very very long hair and I need two boxes of hair dye to cover all my hair. I accidentally bought 2 different colors (idk how ) they are both the same brand. One is cashmere brown and the other is cappuccino. Can I mix them together? 
If I can't, what could happen? 
Thank you!