Drag and drop the lines into the box on the right. Put the partition function first and the quicksort one underneath.
Start again Check my answer