integral from 0 to 9 of 9/10 dx + integral from 9 to 10 of 9/10+ 4*(x-9)/10 dx