Added solve6.