I combined the three steps together and the following are my thoughts:
We can set the fixed fee for renting as (f) and an dynamic fee related to days as (d) per day, then we have:

Then we could get f=16, d=4, so we could have the equation as follows:
y = 16 + 4x