You can turn these equations into the form giving

and

Now equating coeffecients of x you solve for

Cross multiplying

solving the quadratic gives

So which one gives no solutions and which infinitely many solutions?

The hint here is where the constant term in each equation is equal, this will yield infinitely many solutions