The sides of a △ABC satisfy the equation, 2a2+4b2+c2=4ab+2ac, then find ∠A and ∠B
In a Δ ABC, 2a2+4b2 + c2=4ab+2ac,then cos B is equal to