I need to solve this equation for 'B'. I am having trouble rearranging the equation to achieve a 'B=' answer. Can someone help me rearrange this equation to solve for B?

0=((DCRMg) - (DCRMgAl))∗ e^(-B∗((ρMg)+(ρAl)))+((DCRMgAl)- (DCRAl))∗e^(-2∗B∗(ρMg))+((DCRAl) - (DCRMg))∗e^(-B∗((ρMg)+(ρMgAl)))