The gaskets said good bye more then likely because of, Pre detonation. Too much timing, too much compression, or not enough octain in the fuel. Or a combination of all the mentioned. Now the melted piston looks to be too lean. Altho pinging can ruin pistons as well if severe enough.