patterns of development in writing problem solution