3x + 2x = 5x, a + B = B + A, is it an equation? Why?

3x + 2x = 5x, a + B = B + A, is it an equation? Why?

Neither of these is an equation
An equation containing unknowns is an equation
In the first formula, X is eliminated, which is 3 + 2 = 5
The second equation is not an equation, it is an identity