if 8 gallons of gasoline are added to a tank that is already filled to 3 / 4 of its capacity , the tank is then filled to 9 / 10 of its capacity . how many gallons does the tank hold ?
n0 = 8.0
n1 = 3.0
n2 = 4.0
n3 = 9.0
n4 = 10.0
t0 = n3 / n4
t1 = n1 / n2
t2 = t0 - t1
t3 = n0 / t2
t4 = t3 * t1
answer = n0 + t4
print(answer)