Walking into molten lava is a bad idea. Place cobblestone to create a bridge, then mine at least two of the iron blocks.
Example solution

Walking into molten lava is a bad idea. Place cobblestone to create a bridge, then mine at least two of the iron blocks.