In order for the expression to have infinitely many solutions, we need to have a situation like this:

In other words, we need the left and right hand sides to be the same, so that the equality is actually an identity, and no matter which x-value you choose, the equality will hold.
In your case, if you mimic the template above, you have

And since we want
, we want
