Let one batsman score runs.
Then, the other batsman scores runs.
Given, total runs = 164
Then, according the given condition, we have:
Solution:
Putting in the equation, we get:
Again, putting in the equation, we get:
Hence, are the two solutions of the equation.