Explicit Solution of a Stochastic, Irreversible Investment Problem and Its Moving Threshold