It is 1/2 mile from the students home to a store and back. In a week, she walked to the store and back home 1 time. In the same week, she rode her bike to the store and back 3 times. How many miles did she walk and ride to the store and back in that week?