P.T. Barnum imparted upon me the fundamental principle for achieving success.

How can I change this sentence into a more formal form Replace mePT Barnum taught me the key to success