Logic question calculation

i found E, but the answer is B, can someone explain? thanks