Solve for B A=2BD+2BC