Answer:
27 gallons is the capacity of the tank.
Explanation:
Let the capacity of the tank be x gallons.
Initial tank was filled =
![(1)/(7)x](https://img.qammunity.org/2021/formulas/mathematics/high-school/qze0e9pkdh8cmygy8i88lokcrb8q3gejq8.png)
After travelling tank was found to have =
![(1)/(9)x](https://img.qammunity.org/2021/formulas/mathematics/high-school/jbofyzzcfw331ul1jfbn1pwwbh570dq1yk.png)
24 gallons of gasoline was added to fill the tank completely.
![x=+(1)/(9)x+24](https://img.qammunity.org/2021/formulas/mathematics/high-school/fku6ipo2t657m4q04driqq24x29z9n9mhp.png)
![x-(1)/(9)x=24](https://img.qammunity.org/2021/formulas/mathematics/high-school/yukpaead4ez0umvjq7w1w6snq6pfa7gp3o.png)
![(9x-1x)/(9)=24](https://img.qammunity.org/2021/formulas/mathematics/high-school/e7i290w8g69fepzwllbocyrynqiupa2woe.png)
![(8x)/(9)=24](https://img.qammunity.org/2021/formulas/mathematics/high-school/hinn5gteqg79pijvn7g71lm2l5cyvglc9q.png)
![x=(24* 9)/(8)=27](https://img.qammunity.org/2021/formulas/mathematics/high-school/sr20tthiga9lxs3nawsi6wpja3q3xin782.png)
27 gallons is the capacity of the tank.