Let x be the distance from the top of the tank. The amount of work required to pump out a layer of water dx thick is weight times distance. Weight is times volume, volume is length=6 times width=2 times height=dx. The height goes from 0 (top of the tank) to 5 (bottom of the tank). So it's .
And the units will be ft-lb, not ft per lb.