The two clauses use a parallel construction:
رِضَى الرَّبِّ فِي رِضَى الْوَالِدِ
سَخَطُ الرَّبِّ فِي سُخْطِ الْوَالِدِ
رِضَى and سَخَطُ are opposites: pleasure and displeasure. Repeating the structure while changing the key terms makes the two sides memorable.
وَ means “and,” joining the two clauses. The wording thus combines encouragement toward good treatment with a warning against mistreatment.