Substitute into Equation A:

Simplify:

Solve the equation for x: , so