An Explicit Solution to an Optimal Tax Problem