The word "commands" can be translated as a verb. Alternate translation: "do not forget what I command you" (See: [[rc://en/ta/man/translate/figs-abstractnouns]])
This phrase says in positive terms what the previous phrase says in negative terms. Here the word "heart" represents the mind. The word "teachings" can be translated as a verb. Alternate translation: "always remember what I teach you" (See: [[rc://en/ta/man/translate/figs-parallelism]] and [[rc://en/ta/man/translate/figs-metonymy]] and [[rc://en/ta/man/translate/figs-abstractnouns]])