每 + 隔 + Number + Measure Word + Time Noun
隔 (gé) means 'to separate' or 'to be apart by an interval.' In the pattern 每隔, it expresses recurring intervals, meaning 'every' certain period. For example, 每隔几个月 means 'every few months.'
我家和公司只隔了两条街。
Wǒ jiā hé gōngsī zhǐ gé le liǎng tiáo jiē.
My home and my office are only two streets apart.
医生建议每隔两个小时就站起来走一走。
Yīshēng jiànyì měi gé liǎng gè xiǎoshí jiù zhàn qǐlái zǒu yī zǒu.
The doctor recommends standing up and walking around every two hours.
这两个房间隔了一堵墙。
Zhè liǎng gè fángjiān gé le yī dǔ qiáng.
These two rooms are separated by a wall.