hello ppl. please please help me solve this 4 problems. its my homework and I have to give it to teacher hours later.

I can't solve it, I tried so hard but I dont understand this so called Integers theorem.

problems {8 ,10, 12} from first picture

and also the problem {2} in the second picture.

Thank you, Thank you, Thank you ....