Sentence

私は彼らに、娘さんのお誕生おめでとうと言った。

(わたし)(かれ)らに、(むすめ)さんのお誕生(たんじょう)おめでとうと()った。
I congratulated them on the birth of their daughter.
Sentence

その競技で優勝したそうで、おめでとうございます。

その競技(きょうぎ)優勝(ゆうしょう)したそうで、おめでとうございます。
Congratulations on coming first in the competition.
Sentence

専務取締役にご就任されるとのこと、おめでとうございます。

専務(せんむ)取締役(とりしまりやく)にご就任(しゅうにん)されるとのこと、おめでとうございます。
I was delighted to hear of your promotion to Senior Managing Director.