In order to solve the problem we will first create equations to represent the volume of water on the gallons through the weeks. The output of the functions will be the volume of each and the entry will be the number of weeks passed.
For the first one:
While on the second one:
In order to calculate the number of weeks it'll take until they have the same volume of water we need to find the "week" which would make them equal. So we will equate both expressions and solve for that variable.
It'll take 69 weeks for the tanks to have the same volume.