 <translate> Let X be the distance Sam ran. His walk through the store was twice the distance of his run, so his walk was 2X. He biked for 12 miles and went 18 miles in all, so he walked and ran 18 - 12 = 6 miles. Thus, his walk and run together were X + 2X = 3X = 6 miles. Thus, he ran X = 6 / 3 = 2 miles. So the answer is 2. <yor> Jẹ́ kí X jẹ́ ibi tí Sam sáré dé. Ìrìn tó rìn gba inú ṣọ́ọ̀bù kọjá jẹ́ ìlọ́po méjì ìrìn tó fi sáré, nítorí náà ìrìn rẹ̀ jẹ́ ìlọ́po méjì. Ó gun kẹ̀kẹ́ fún kìlómítà méjìlá ó sì rin kìlómítà méjìdínlógún, nítorí náà ó rìn ó sì sáré 18 - 12 = 6 kìlómítà. Ìyẹn ló fi jẹ́ pé, bó ṣe ń rìn àti bó ṣe ń sáré pọ̀ jẹ́ X + 2X = 3X = 6 kìlómítà. Nítorí náà, ó sáré X = 6 / 3 = 2 máìlì. Nítorí náà ìdáhùn náà ni 2. 