Before revision:  We have obtained explicit optimal investment to this problem in two examples.
After revision:  We obtain the optimal investment strategy explicitly in two examples.