Vreau rezolvarea celor doua exercitii.Va rog mult!!!

Răspuns:
nu stiu a 2a problema, nu am ajuns cu materia.