Auto Update Deal Name on Create/Edit

Auto Update Deal Name on Create/Edit

Just coming over from Zoho from Salesforce and don't have experience with Deluge.  I can't quite figure out how to write this custom function, which I know should be easy.

I want the Deal Name upon edit or creation to be updated to:

Account Name - ProductInterest (custom Deal field) - Type - Stage - Close Date

I would appreciate any help!  Thank you!