Step 1) use a magnet to remove the iron filings
Step 2) dump the mixture into water hot water and mix (this will cause the salt to combine with the water and the styrofoam to float)
Step 3) you can now separate the styrofoam from the top of the water
Step 4) using a fine mesh strain the sand out of the water
Step 5) boil the water leaving the salt.