a certain psychologist charges $ 20 more for the first hour of therapy than for each additional hour . if the total charge to a patient who receives 5 hours of therapy is $ 300 , what is the total charge to a patient who receives only 3 hours of therapy ?
n0 = 20.0
n1 = 5.0
n2 = 300.0
n3 = 3.0
t0 = n2 - n0
t1 = t0 / n1
t2 = n3 * t1
answer = n0 + t2
print(answer)