$$\int_{0}^{\infty}dk~k^{d-2}\delta(k-a)\delta(k-b).$$
I tried substituting $k^{d-2}\delta(k-a)$ with other espressions such as $\frac{d}{dk}\biggl[k^{d-2}\Theta(k-a)\biggr]-(d-2)k^{d-3}\Theta(k-a)$ and integrating by parts but it doesn't lead to the solution.