Here "the eyes of Yahweh" refer to his careful watching. "The righteous" is a reference to righteous people. AT: "Yahweh carefully watches over the righteous people" (See: [[rc://en/ta/man/translate/figs-metonymy]] and [[rc://en/ta/man/translate/figs-nominaladj]])
Here Yahweh is represented by his "ears." To be directed toward something means to pay attention to it. AT: "he pays attention to their cry" or "he answers their cry" (See: [[rc://en/ta/man/translate/figs-synecdoche]])