Formula: Sum amounts entered in lookup field

Formula: Sum amounts entered in lookup field

Hello!

I would like a formula to add the sum of all the amounts entered in a lookup field. (The lookup field is within the same form)

I have attached pictures that I think would help.

Below are all the payment amounts I would like to add. (this is a lookup field to a form)



When I click "+ Add New" , this is the form that pops up.