Correct. When and , both equations are true so it is the solution.