Ahh
You want to cut it above this faint red line
View attachment 290705
Just above the square hole.
First though, to make a pattern use several layers of masking tape. That will peel off in the shape of the metal you need to make. Snip the corners and spread it out, now you have the corner angles you need to cut to allow it to fold neatly.
Bottom fold first, then the sides. Trial fit, it won’t go into place, since you haven’t cut yet.
Mark or centre punch a dot vertically above the square hole, 50mm or whatever convenient, mark the distance.
Now you can cut out.
Cut exact if you want to butt weld.
Cut 5mm lower if you want to tuck behind it, either riveting in place before welding, or plug/rosette welding.
I’d cut a chunk of that sill off, 60-100mm, and remake it, you can hammer form that channel over some pieces of wood. Sound much more daunting than it actually is.
Oh and remake the square hole, drill and file from your measurement.