Production of a complex coagulant from fly ash