Va rog AJUTOR!!!!!!!......

Răspuns:
Nu se vede tot enunțul, dar am rezolvat ceea ce reiese din enunțul tău.