If you walk for $45$ minutes at a rate of $4 \text{ mph}$ and then run for $30$ minutes at a rate of $10\text{ mph,}$ how many miles will you have gone at the end of one hour and $15$ minutes?