Amit drives a pickup truck. On monday, his gas tank was 1/2 full, and he filled it up. On Thursday his gas tank was 3/4 full, and he again filled it up. Amit put a total of 19 1/2 gallons of gas into his truck. What is the capacity of the trucks fuel tank?