Well, you know there are 43,560 square feet in an acre, and you know there are 12 inches to a foot. The next clue you need is a conversion factor from volume in gallons to the units of area, which in this case is inches; so, there are 231 cubic inches to a gallon.
You now have all the information you need to algebraically determine the number of gallons in an acre inch.