Deductions & credits

Anyone able to answer this. I work for Instacart, and after reading through the question and comments, I understand that I can deduct my miles from home, to the store, and from the last delivery to home. But what about if I'm already out after doing an errand,  I accept an order, and drive to the store. Can I deduct the miles from where I was at, to the store?