Edit Button Location/Placement

I am working on finding the best placement for the edit button for a company website already in existence (used for internal staff & clients). This is a review page after a Client has filled out a Grant form and has 2 sections that will be editable. First, the user will have the option to add Special Instructions if desired (optional). Once they enter the Special Instructions and have saved them, they will have the option to edit them if desired. The second option will be to change the percentage of allocation of assets. So, for instance, if they originally had 2 assets, and wanted to reallocate divestments, let's say instead of 40%/60% they wanted to change it to 50%/50%, they have the option to change it. Once they choose to change it, input boxes appear to enter the new percentage. From there, they will cancel, clear, or save their input. After saving, they will have an edit button there as well in case they want to edit again.

The question is, where do edit buttons typically go? I've read about the direction of the eye based on the information present on the page (Z path vs. F path for example). I've gotten feedback that Windows users might want to see it in upper right corner (not sure if I follow that as I've tried to find examples of this but I am open to this being valid). The current pattern is all over the place within the UI. Sometimes upper right corner, sometimes upper left, sometimes outside of the container, sometimes within... And I've found examples of several patterns online that differ widely based on use case. I want to find out from other UXers what their experience is in where to best place the edit button, and if it is just up to the particular use case or if there is a standard pattern that is typically followed.

This was my original wireframe:

enter image description here

However, currently the "edit remove" buttons for the Special Instructions are in the upper right corner, and if I am following that pattern, that would mean I would have to place it upper right for the reallocations section as well, which to me, doesn't look right. But I am open to any feedback!

I am a newer UX/UI designer to the field, so feel free to educate me!