The proof is given below:
But I do not understand the statement in the line before last which says "These give rise to the single congruence $a ^{560} \equiv 1 \pmod n$ where gcd(a, 561) = 1 ", I do not know why the previous mentioned system of linear congruences leads to this single congruence, what theorem is used to say this? is it the Chinese Remainder theorem ? if so how?

Since $a^{560}$ is congruent to $1$ modulo $3,11,$ and $17$, you know that $a^{560}-1$ is divisible by $3,11,$ and $17$. Thus, since $3,11,$ and $17$ are mutually coprime, $a^{560}-1$ is divisible by $3\cdot 11\cdot 17=561$ and so $a^{560}$ is congruent to $1$ modulo $561$.