Build your way up to escape the flood and be rescued in time.
Tap on the screen to place a new floor - try to match the position of the new one over the previous one to have it as wide as possible.