I was looking over the solution to a problem here (http://www.artofproblemsolving.com/Wiki/index.php/2013_AMC_12B_Problems/Problem_14). What has me confused, is where they say that $5x_{1} + 8x_2 = 5y_1 + 8y_2, x_1 \neq y_1, x_2 \neq y_2$ implies that $x_1 \equiv x_2 (\mathrm{mod}\ 8)$. I've tried and haven't been able to understand how they came to this conclusion, so could someone explain the reasoning?
Thanks.