Obviously you float on your back and swim out...
Does no one know that quicksand is water with sand in it. Thus its thicker water. If you can float on water you can float on thicker water. Its like the dead sea, you can't dive into it cause the salts too dense, you pop back up every time.