Let's get all of the distances lined up:

= home to office

to a restaurant

back to the office

= store

= back home
So then we just add up all of the numbers. However we need to make sure that there is a common denominator. Let's make the common denominator 12, since that is a common factor to all of the denominators in the problem:

= home to office

to a restaurant

back to the office

= store

= back home
Then let's add them up:

This does not reduce to a nice number, however, we can simplify to:
