The answer for this is Substitution property
Substitution Property is considered as one of the most intuitive of the mathematical properties that you'll probably encounter. You may have been using substitution without even knowing it. This property says that if x=y, then in any true equation involving y, you can replace y with x, and yet you'll still have a true equation.
Take a look at the attached example shown below.