Ответ:

Перевод задания: Translate the sentences into English. Pay attention to countability, containers and quantity words.

The teacher gave us two useful pieces of advice and three homework assignments.

«Advice» — неисчисляемое существительное, поэтому правильно говорить two pieces of advice. «Assignments» — исчисляемое существительное.