How come for any primes $x$ and positive integers $a,b \in \mathbb Z$ that $$( \text{value 1} \cdot a + b) \ \text{mod} \ x = ( \text{value 2} \cdot a + b) \ \text{mod} \ x$$ even when $\text{value 1} \neq \text{value 2}$? I can't find a correlation between them that can describe their relationship.
What relationship is there? How is this possible? Oh, and x is a prime number.
If you can, please give me a layman's answer. Half the stuff on this forum I'm not sure I fully understand, not for lack of intelligence, but for lack of familiarity with the nomenclature.