Va rog ! Punctul A , multumesc !

Răspuns:
Dacă nu ma înșel rezolvarea o găsești la sfârșitul caietului:)