A jug of water contains 3g gallons of water more than a bottle of water. The jug of water and the bottle contain (12g+9) gallons of water altogether. How much water does the jug contain? Show work!