What formula to use in computing total hrs and decimal hrss

What formula to use in computing total hrs and decimal hrss

So , my data includes log im column , 2 breaks with 2 columns that says back and lunch and 1 column that says back and logged out. 
What formula should i use to be able to automatically have my total hours as I input time in each column? Thankyou