Which of the following is an equation?

A. 6x + 2x - 6
B. 6x² + 10 = 25
C. 6x² + 10 - 25
D. 10y - 6 + 34u