The consumer price index (cpi) is 110, 117, 128 in 2018, 2019 and 2020 respectively. Calculate the inflation rate in 2019 and 2020.