My mother noticed that my feet were dirty.

Literal

Mother [topic-は] my feet [subject-が] dirty-[ongoing-ている] thing [to-に] eyes [object-を] fixed

目をとめる = 'to fix one's eyes on / to notice' — a set expression. ことに marks what was noticed. 汚れている = 'is dirty' (resulting state).