あなたは彼が家を出て行くのに気がつきましたか。

English Translation

Did you notice him leave the house?

Not sure what the TTS is doing for 気, but き it is not.