We are learning congurence class part for an intro course. This is a sample exam question without a solution.
I have poor idea about this problem.
My idea is : suppose there is an a satisfies it.
then I have
$7a\equiv35\pmod{56}$ and $8a\equiv24\pmod{56}$
then by doing the substraction I get
$a\equiv-11\pmod{56}$
then
$a\equiv45\pmod{56}$
That is all the steps I can do up to now.
Any hint plz?
Thank you in advance.
==========
Addition: actually I found it is the correct anwser that $a = 45$. But I am not really sure why it is the answer. I got this answer suprisingly..