Each side of a sandbox is 4 feet long. It will cost $1.87 per square foot to replace the sand in the sandbox. What would be the total cost to replace the sand?