As it has already been explained, the examples you are looking for are parts of
their respective main packages. Install both FreeRTOS and TCP/IP packages as
specified in each package Release Notes. Study
S32DS\software\PlatformSDK_S32XX_2021_12\stacks\tcpip\examples\S32G274A\description.txt
and
S32DS\software\PlatformSDK_S32XX_2021_12\FreeRTOS\examples\S32DS\FreeRTOS_Toggle_Led_Example_S32G274A_M7\description.txt
on how to build and run TCP/IP and FreeRTOS examples, respectively.
All paths above are relative to the S32 Design Studio installation directory.
Best Regards,
Platon