Thomas was walking to the store at a brisk 4.5 mph pace. When he reached the store he met his friend Blake and together they walked back at a 3.0 mph pace. Thomas's trip was a total of 1 hour.

A how long did it take him to walk to the store?

B. What is the distance to the store?

Can someone please show me how go set these up? It's been 8 years si nce I last did algebra and I am finding out I have forgotten a lot. (Thinking)