This is a metaphor. The son's leaving his family for a long period of time is compared to being dead, and his returning is compared to being alive again. It can be translated as a simile as it is in the UDB. (See: [[rc://en/ta/man/translate/figs-metaphor]])
This is a metaphor. The younger brother's being away from his family for a long period of time is compared to being lost, and his return home is compared to being found. This can be translated as "It is as though he was lost and has now been found" (UDB) or "he was lost and has returned home." (See: [[rc://en/ta/man/translate/figs-metaphor]])