Heart Tanks increase X's maximum health by 2. There is one tank in each maverick level; thus the maximum amount of health X can have in the game is 32 (16 + [8*2]).
After beating Flame Mammoth, return to this level (if you've beaten it already) and when you get to the part with the Mech Armor get in it and ride it to the part where there's a cave you have to go through. At the left entrance you can jump straight up off of the column and then jump out of the Mech and up onto the ledge. Use Fire Wave to destroy the first mosquito bot generator up there and you'll see the Heart Tank laying inside.
Alternatively, you can go through the cave and then jump up on top from the right side by dash jumping across the small gap.
After beating Chill Penguin, follow the level until you run into the pick axe throwers. From there, run across the ice covered floor to the very bottom right. The Heart Tank lies in the corner. If you defeated Boomer Kuwanger, the Boomerang Cutter is also a neat way to get it.
After killing the first Mega Tortoise, but before heading down the ladder, climb up the wall and you'll see a Heart Tank sitting there. You'll need to have the Leg Enhancement to get it, so hopefully you've been following this guide! Simply perform a wall dash while you're scaling the wall, then quickly jump on the ledge with the heart tank on it. Climb up and collect your prize. Alternately, you can use Boomerang Cutter instead.
Beginner note: for this trick you need to press the slide and the jump to perform a longer jump
Right after the second mine cart, you'll come to a large gap. Drop down and start shooting the Mole Borer with Flame Wave until it's finally destroyed, then continue down the path, where you'll see a Heart Tank on a ledge. Jump up on the ledge and take it, dropping back down and continuing down the path. Other way,if you haven't gotten Flame Wave, Stay far right at the dropping part, then you'll land on the small platform. Carefully drop and go faster than the Mole Borer to the heart tank. Alternatively, if you are fast enough, you can use the X-Buster to shoot the Mole Borer before it reaches the heart container.
After the second Anglerge, proceed forwards and you'll notice two large funnels. Jump into the second one, and when you get to the top, jump onto the green ship that's on the surface. Destroy the blue orb that's on the ship until it finally goes down (some annoying grabber bots will make your life harder, so destroy them if they get near you). The ship will then create a passage to an underground area: go in and prepare to fight the third sub-boss, a large snake robot. His only weakspots are his head and tail, so aim for those. He's very easy to dodge, but hits very hard, so try your best to avoid him. To easily dispatch him, use a charged Storm Tornado and he'll be gone in no time. Once he's dead, go to the right, grab the Heart Tank, and then scale the wall next to the destroyed ship to make it back to the ocean floor.
Go back to Boomer Kuwanger's stage and head to the top floor of the outside area. Equip the Boomerang Cutter, stand in the position shown in the picture, and shoot one boomerang. It will grab the heart tank and bring it to you... easy as that!Alternatively, if you can charge your subweapons and have Shotgun Ice, you can use that to get it.
Before going down into the tunnel, jump into the pit right before it (sounds scary but don't worry) and destroy the blocks with your Leg Upgrade. Stand at the edge of the small platform and perform a dash jump, which will cause you to land on the platform that's on the other side; pick up the Heart Tank and go back the same way you came. Make sure to have beaten Launch Octopus's stage, or else there won't be any water in the pit.
Alternatively, there is a way to get the Heart Tank without the water. A charged Shotgun Ice also works but it is very tricky and risky to do, requiring you to do a specific jump for the right pit.
When you get to the very top of the moving platforms in the beginning, dash jump to the left from the moving platform you're currently on; if you jump far enough, you should land on a roof where a heart tank lies. To continue with the stage, jump down and go on the moving platforms again, but this time, jump to the right instead of the left once you reach the top.