The answer is:
_______________________________________________________
"To hunt in the park is a serious offense."
_______________________________________________________
Note: The 'infinitive phrase that functions as the subject is: 'To hunt' .
_______________________________________________________