Emily is walking around her neighborhood. After walking for 6 minutes, she traveled 4 blocks. After walking for a total of 15 minutes at the same rate, she traveled 10 blocks. Given that Emily walked at the same pace the entire time, how long did it take her to travel 8 blocks?