Function/t^x e^(-t)/Maximum in t/Exercise

Let and consider the function

Determine the extrema of this function.