I am a newer programmer and I am not sure I would translate this into code..
If the time is between 21-30 days, the cost is $50. If it is more than 30 days, there is an additional charge of $34 for each additional month.
31-60 days would calculate at 84,
61-90 days would calculate at 118
and so on.
Thanks!