If it takes 5 hours to pump 800 ft3 then in 1 hour it can pump 800/5 or 160 ft3 per hour
In t hours, you can pump 160t ft3
In t hours the remaining water = what you started with minus what you pumped or 800 - 160t ft3
Remaining water in the basement is a function of time = f(t) = 800 -160t ft3 with t measured in hours
If t is measured in minutes, then f(t) = 800 - 160t/(60) ft3 = 800 - 8t/3 ft3
If measured in seconds, then f(t) = 800 -8t/3(60) ft3 = 800 - 2t/45 ft3
This assumes you can pump at a constant rate.
Also, 0<t<5 For t>5, you're pumping air not water