Hi Jenni,
It seems that your website is built with JSP from your code, would my guess be right?(I found servlet in data url)
If so, due to JSP is dynamic web page, so there would be some control code which might affect your second form.
For example, will both first form and second form display on website by default? If second form will only appear when first form has been populated,
then the second might not be detected by Dynamics Marketing scanner.
I copied you pasted code on my website, and both forms can be detected, the difference is that my website is pure HTML page.
So I suggest you could create a new HTML page on your website, then copy and paste source code of my website to test whether both of forms could be detected.(Remember to replace "Form capture code" with your owns, I only added "Form capture code")
CRM Test Page
You'll learn:
✅ Marketing email
✅ Marketing page
✅ Marketing form
Copyright @ 2020 Contoso Ltd
You source code works from my test in pure HTML page.
1. My marketing website record for my web page.

2. URL I entered.

3. Two forms are found, this is form 2 result.

My test page:
https://maoalex.best/custom/capture.html
Regards,
Clofly