Answer
Sometimes
Never
Work Step by Step
For a system with one solution, the slope has to be different. If g=h, then they would have the same slope.
For a system that has all solutions, then the second equation must have the same slope and y intercept. Since the y intercept is different, they will never have infinite solutions.