Solve the system by the substitution method. If there is no…