If the two lines have different slopes, then they must intersect at exactly one point, which means there is only one solution.