I would set it up like this:
It is 4 feet from the ground to the top of the tank. Therefore, it is 5 feet to the center of the tank.
The distance from the center to the top of the tank we can call x. So, the
height of the gas at x level has width w(x).