The derivative of the unit step function is: $\frac{d \theta (x)}{dx} = \delta (x) .$
However, we also have that $\theta(cx) = \theta(x)$ where $c$ is some constant, and so $$\frac{d \theta (x)}{dx} = \frac{d \theta (cx)}{dx} = c\delta (x)$$
In general I am wondering how we can generalize the derivative of a step function.
Note that $\theta(cx)=\theta(x)$ for $c>0$. On differentiating we get$$\theta'(x)=\frac{d\theta(cx)}{d(cx)}\frac{d(cx)}{dx}=c\delta(cx)$$$c\delta(cx)$ is equal to $\delta(x)$ for $c>0$. (Why? Compare their values for $x=0$ and $x\ne0$).