a certain taxi company charges $ 2.10 for the first 1 / 5 of a mile plus $ 0.40 for each additional 1 / 5 of a mile . what would this company charge for a taxi ride that was 8 miles long ?
n0 = 2.1
n1 = 1.0
n2 = 5.0
n3 = 0.4
n4 = 1.0
n5 = 5.0
n6 = 8.0
t0 = n1 / n2
t1 = n6 / t0
t2 = t1 - n1
t3 = n3 * t2
answer = n0 + t3
print(answer)