#the chief cupbearer and the chief baker

See how this was translated in [[:en:bible:notes:gen:40:01|40:2]].

#It came about on the third day that

"Afterward, on the third day," The  phrase "it came about" is used here to mark a new event in the story. (See: [[:en:ta:vol2:translate:writing_newevent]])

#He made a feast

"He had a feast"

#He paid special attention to ... more than to all his other servants

"During the celebration, while they were all gathered there, the king summoned his chief drink server and chief baker from the prison" (UDB)

#But he hanged the chief baker

Pharaoh did not personally hang the baker, rather he commanded for him to be hanged. AT: "But he commanded for the chief baker to be hanged" or "But he commanded his guards to hang the chief baker" (See: [[:en:ta:vol2:translate:figs_metonymy]])

#just as Joseph had interpreted to them

This refers to when Joseph interpreted their dreams. AT: "just as Joseph had said would happen when he interpreted the two men's dreams" (See: [[:en:ta:vol1:translate:figs_explicit]])

#He restored the chief cupbearer to his responsibility

The chief cupbearer's "responsibility" refers to his job as chief cupbearer. AT: "He gave the chief cupbearer his job back" (See: [[:en:ta:vol2:translate:figs_metonymy]])