We give an exact analytical results for diffusion with a power-law position dependent diffusion coefficient along the main channel (backbone) on a comb and grid comb structures. For the mean square displacement along the backbone of the comb we obtain behavior x 2 (t) ∼ t 1/(2−α) , where α is the powerlaw exponent of the position dependent diffusion coefficient D(x) ∼ |x| α . Depending on the value of α we observe different regimes, from anomalous subdiffusion, superdiffusion, and hyperdiffusion. For the case of the fractal grid we observe the mean square displacement, which depends on the fractal dimension of the structure of the backbones, i.e., x 2 (t) ∼ t (1+ν)/(2−α) , where 0 < ν < 1 is the fractal dimension of the backbones structure. The reduced probability distribution functions for both cases are obtained by help of the