Need help to retrieve the stuck motor from the borewell


I have dug a borewell 320feet deep. Slating pipe, 4 gauge was inserted. 4 months later we tried inserting a 2hp motor at 220 feet  which got stuck due to sand filling in the bore. We somehow removed the motor and tried inserting it back. But it has now gor stuck at 140 feet depth and cannot be removed as the slated pipe is broken at some point. What is the solution to resolve this issue? What are the steps to be taken?