Grade That Changes Mid-Run
Where a retaining wall creates usable yard, the wall and the fence on it share one 6-ft limit unless a 5-ft landscape area separates them; with that space, each may reach 6 ft (PMC 17.08.240). On a sloped lot, that rule belongs in the first sketch.