Answer:
3 blocks
Explanation:
Let t be the time it take for both you and your friend to walk to the restaurant. We can calculate:
The distance (m) from your building to the restaurant is your speed times your walking time t
[tex]s_1 = v_1t = 1.8t[/tex]
Similarly the distance (m) from your friend building to the restaurant is your friend speed times his walking time t
[tex]s_2 = v_2t = 1.2t[/tex]
Let b be the length (in m) of a block, so a total distance of 5 blocks is 5b
[tex]s_1 + s_2 = 5b[/tex]
[tex]1.8t + 1.2t = 5b[/tex]
[tex]3t = 5b[/tex]
[tex]t = 5b/3[/tex]
[tex]s_1 = 1.8t = 1.8(5b/3) = 3b[/tex]
So you are 3b meters from the restaurant, since each block is b meters long, 3b meters would equals to 3b/b = 3 blocks