System A

solve the first equation for x

replace in the second equation

The system has infinitely many solutions, They must satisfy the following equation

System B

solve for x for the first equation

replace in the second equation

The system has no solution.