Answer: 
Step-by-step explanation:
Let d be the distance from Nadia's home to the grocery store.
Given : Nadia traveled uphill to the grocery store for 30 minutes at just 4 mph.
∵ 1 hour = 60 minutes.
Then, 
Since 
Then, 
Also, She then traveled back home along the same path downhill at a speed of 12 mph.
Then, Time taken to travel back home = 
Average Speed =

Hence, her average speed for the entire trip from home to the grocery store and back = 