No idea where to start

I was hoping someone would address why it rusted in the first place, as "fishbreath" did. Water leaks in during rain and soaks the carpet, and the original floors were not painted all that great on the top sides. Another source of leaks is the windshield wiper pivot seals.