In an algebraic expression, like terms are terms that contain the same variables raised to the same powers. Calculating x-squared plus x-squared is a matter of combining like terms.
Now x^2 + x^2 = 2x^2
Hence, x-squared plus x-squared is equal to 2 times x squared.